Class ApiModuleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.scaleoutsoftware.modules.client.ApiModuleException
- All Implemented Interfaces:
Serializable
An API module exception is thrown when:
1) The invoke request times out.
2) The invoke handler throws an exception (the causal exception will be provided inside the API module exception)
3) The invoke handler threw an exception while creating the object.
4) The invoke handler did not exist.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ApiModuleException(Exception cause) Create an ApiModuleException with a message.ApiModuleException(String message) Create an ApiModuleException with a message.ApiModuleException(String message, Exception cause) Create an ApiModuleException with a message and a cause.ApiModuleException(String message, Exception cause, boolean enableSuppresion, boolean writableStackTrace) Create an ApiModuleException with a message and cause -- optionally suppress and write stack trace. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ApiModuleException
public ApiModuleException()Default constructor. -
ApiModuleException
Create an ApiModuleException with a message.- Parameters:
message- the message.
-
ApiModuleException
Create an ApiModuleException with a message and a cause.- Parameters:
message- the message.cause- the cause.
-
ApiModuleException
Create an ApiModuleException with a message.- Parameters:
cause- the cause.
-
ApiModuleException
public ApiModuleException(String message, Exception cause, boolean enableSuppresion, boolean writableStackTrace) Create an ApiModuleException with a message and cause -- optionally suppress and write stack trace.- Parameters:
message- the message.cause- the cause.enableSuppresion- flag to enable suppression.writableStackTrace- flag to determine stacktrace is writable.
-