Gemfire JavaDocs
Package org.apache.geode
Class GemFireCheckedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.geode.GemFireCheckedException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AdminException
,JsonParseException
,QueryException
,VersionException
public abstract class GemFireCheckedException extends java.lang.Exception
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:
GemFireException
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GemFireCheckedException()
Creates a newGemFireException
with no detailed message.GemFireCheckedException(java.lang.String message)
Creates a newGemFireCheckedException
with the given detail message.GemFireCheckedException(java.lang.String message, java.lang.Throwable cause)
Creates a newGemFireException
with the given detail message and cause.GemFireCheckedException(java.lang.Throwable cause)
Creates a newGemFireCheckedException
with the given cause and no detail message
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
getRootCause()
Returns the root cause of thisGemFireCheckedException
ornull
if the cause is nonexistent or unknown.
-
-
-
Constructor Detail
-
GemFireCheckedException
public GemFireCheckedException()
Creates a newGemFireException
with no detailed message.
-
GemFireCheckedException
public GemFireCheckedException(java.lang.String message)
Creates a newGemFireCheckedException
with the given detail message.- Parameters:
message
- the detail message
-
GemFireCheckedException
public GemFireCheckedException(java.lang.String message, java.lang.Throwable cause)
Creates a newGemFireException
with the given detail message and cause.- Parameters:
message
- the detail messagecause
- the cause
-
GemFireCheckedException
public GemFireCheckedException(java.lang.Throwable cause)
Creates a newGemFireCheckedException
with the given cause and no detail message- Parameters:
cause
- the cause
-
-