Class ProcCallException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.voltdb.client.ProcCallException
All Implemented Interfaces:
Serializable

public class ProcCallException extends Exception
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 Details

    • getClientResponse

      public ClientResponse getClientResponse()
      When a ProcCallException has a response from the server, retrieve it with this method.
      Returns:
      A ClientResponse associated with this exception or null.