public abstract class GemFireException extends RuntimeException
Since these exceptions are unchecked, this class really ought to be called
GemFireRuntimeException; however, the current name is retained for compatibility's sake.
This class is abstract to enforce throwing more specific exception types. Please avoid using GemFireException to describe an arbitrary error condition
| Constructor and Description |
|---|
GemFireException()
Creates a new
GemFireException with no detailed message. |
GemFireException(String message)
Creates a new
GemFireException with the given detail message. |
GemFireException(String message,
Throwable cause)
Creates a new
GemFireException with the given detail message and cause. |
GemFireException(Throwable cause)
Creates a new
GemFireException with the given cause and no detail message |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getRootCause()
Returns the root cause of this
GemFireException or null if the cause is
nonexistent or unknown. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic GemFireException()
GemFireException with no detailed message.public GemFireException(String message)
GemFireException with the given detail message.message - the detail messagepublic GemFireException(String message, Throwable cause)
GemFireException with the given detail message and cause.message - the detail messagecause - the causepublic GemFireException(Throwable cause)
GemFireException with the given cause and no detail messagecause - the causepublic Throwable getRootCause()
GemFireException or null if the cause is
nonexistent or unknown.GemFireException or null if the cause is
nonexistent or unknown