Package org.apache.geode
Class GemFireCheckedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.geode.GemFireCheckedException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AdminException,QueryException,VersionException
This is the abstract superclass of exceptions that are thrown and declared.
This class ought to be called GemFireException, but that name is reserved for an older
class that extends RuntimeException.
- Since:
- GemFire 5.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a newGemFireExceptionwith no detailed message.GemFireCheckedException(String message) Creates a newGemFireCheckedExceptionwith the given detail message.GemFireCheckedException(String message, Throwable cause) Creates a newGemFireExceptionwith the given detail message and cause.GemFireCheckedException(Throwable cause) Creates a newGemFireCheckedExceptionwith the given cause and no detail message -
Method Summary
Modifier and TypeMethodDescriptionReturns the root cause of thisGemFireCheckedExceptionornullif the cause is nonexistent or unknown.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
GemFireCheckedException
public GemFireCheckedException()Creates a newGemFireExceptionwith no detailed message. -
GemFireCheckedException
Creates a newGemFireCheckedExceptionwith the given detail message.- Parameters:
message- the detail message
-
GemFireCheckedException
Creates a newGemFireExceptionwith the given detail message and cause.- Parameters:
message- the detail messagecause- the cause
-
GemFireCheckedException
Creates a newGemFireCheckedExceptionwith the given cause and no detail message- Parameters:
cause- the cause
-
-
Method Details
-
getRootCause
Returns the root cause of thisGemFireCheckedExceptionornullif the cause is nonexistent or unknown.- Returns:
- the root cause of this
GemFireCheckedException
-