Package org.voltdb.client
Class ProcCallException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.voltdb.client.ProcCallException
- All Implemented Interfaces:
Serializable
Exception thrown by the
SyncCallback
and Client.callProcedure(String, Object...)
when a status code
that is not ClientResponse.SUCCESS
is returned in the ClientResponse
.
The message returned by Throwable.getMessage()
will be the same as the status string returned by
ClientResponse.getStatusString()
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionWhen a ProcCallException has a response from the server, retrieve it with this method.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getClientResponse
When a ProcCallException has a response from the server, retrieve it with this method.- Returns:
- A
ClientResponse
associated with this exception or null.
-