Package overit.geocall.event.exception
Class SpinException
java.lang.Object
java.lang.Throwable
java.lang.Exception
overit.geocall.event.exception.SpinException
- All Implemented Interfaces:
Serializable
Exception thrown when there is any unhandled condition during the deserialization or during the consuming of a message
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSpinException(String message) Constructs a new exception with the specified detail message.SpinException(String message, Throwable cause) Constructs a new exception with the specified detail message and cause.SpinException(Throwable cause) Constructs a new exception with the specified cause and a detail message of (cause==null ? -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SpinException
public SpinException() -
SpinException
Constructs a new exception with the specified detail message and cause.- Parameters:
message- the detail message. The detail message is saved for later retrieval by the getMessage() method.cause- the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-
SpinException
Constructs a new exception with the specified detail message.- Parameters:
message- the detail message. The detail message is saved for later retrieval by the getMessage() method.
-
SpinException
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). This constructor is useful for exceptions that are little more than wrappers for other throwables.- Parameters:
cause- the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-