VMware GemFire Java API Reference
Package org.apache.geode
Class GemFireException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.geode.GemFireException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
CacheException,CacheRuntimeException,CompressionException,CopyException,DependenciesNotFoundException,DuplicatePrimaryPartitionException,FunctionException,GemFireCacheException,GemFireConfigException,GemFireIOException,GemFireSecurityException,IncompatibleSystemException,IndexInvalidException,InternalGemFireException,InvalidDeltaException,InvalidValueException,InvalidVersionException,JSONFormatterException,LeaseExpiredException,ManagementException,NoSystemException,PartitionNotAvailableException,PartitionOfflineException,PdxConfigurationException,PdxFieldAlreadyExistsException,PdxFieldDoesNotExistException,PdxFieldTypeMismatchException,PdxInitializationException,PdxRegistryMismatchException,PersistentReplicatesOfflineException,QueryInvalidException,RevokedPersistentDataException,RevokeFailedException,RuntimeAdminException,ServerConnectivityException,SystemConnectException,SystemIsRunningException,UnmodifiableException
public abstract class GemFireException extends java.lang.RuntimeExceptionThis is the abstract superclass of exceptions that are thrown to indicate incorrect usage of GemFire.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 Summary
Constructors Constructor Description GemFireException()Creates a newGemFireExceptionwith no detailed message.GemFireException(java.lang.String message)Creates a newGemFireExceptionwith the given detail message.GemFireException(java.lang.String message, java.lang.Throwable cause)Creates a newGemFireExceptionwith the given detail message and cause.GemFireException(java.lang.Throwable cause)Creates a newGemFireExceptionwith the given cause and no detail message
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ThrowablegetRootCause()Returns the root cause of thisGemFireExceptionornullif the cause is nonexistent or unknown.
-
-
-
Constructor Detail
-
GemFireException
public GemFireException()
Creates a newGemFireExceptionwith no detailed message.
-
GemFireException
public GemFireException(java.lang.String message)
Creates a newGemFireExceptionwith the given detail message.- Parameters:
message- the detail message
-
GemFireException
public GemFireException(java.lang.String message, java.lang.Throwable cause)Creates a newGemFireExceptionwith the given detail message and cause.- Parameters:
message- the detail messagecause- the cause
-
GemFireException
public GemFireException(java.lang.Throwable cause)
Creates a newGemFireExceptionwith the given cause and no detail message- Parameters:
cause- the cause
-
-