Package org.voltdb.client
Class GeneralException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.voltdb.client.GeneralException
- All Implemented Interfaces:
Serializable
This exception can be thrown by any of the synchronous
Client2
methods that call a VoltDB procedure. See
for example Client2.callProcedureSync(String,Object...)
.
A GeneralException
is used to wrap an unanticipated
checked exception, turning it into an unchecked exception.
This is a necessary tchnicality when the checked exception has
not been listed in a throws
list.
Use Throwable.getCause()
to retrieve the checked
exception.
This exception is used only for Client2
clients.
- See Also:
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString