Class GeneralException

All Implemented Interfaces:
Serializable

public class GeneralException extends RuntimeException
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: