public ClientInvocationFuture invoke() { if (clientMessage == null) { throw new IllegalStateException("Request can not be null"); } try { invokeOnSelection(); } catch (Exception e) { notifyException(e); } return clientInvocationFuture; }
public ClientInvocationFuture invoke() { assert (clientMessage != null); try { invokeOnSelection(); } catch (Exception e) { if (e instanceof HazelcastOverloadException) { throw (HazelcastOverloadException) e; } notifyException(e); } return clientInvocationFuture; }