Package org.apache.geode.cache
Class CacheRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.geode.GemFireException
org.apache.geode.cache.CacheRuntimeException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CacheXmlException,CancelException,CqClosedException,DiskAccessException,EntryDestroyedException,FailedSynchronizationException,IndexMaintenanceException,OperationAbortedException,PartitionedRegionDistributionException,PartitionedRegionStorageException,QueryExecutionLowMemoryException,QueryExecutionTimeoutException,RegionDestroyedException,RegionNotFoundException,ResourceException,RoleException,StatisticsDisabledException,SynchronizationCommitConflictException
A generic runtime exception that indicates a cache error has occurred. All the other runtime
cache exceptions are the subclass of this class. This class is abstract so only subclasses can be
instantiated
- Since:
- GemFire 3.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance ofCacheRuntimeExceptionwithout detail message.Constructs an instance ofCacheRuntimeExceptionwith the specified detail message.CacheRuntimeException(String msg, Throwable cause) Constructs an instance ofCacheRuntimeExceptionwith the specified detail message and cause.CacheRuntimeException(Throwable cause) Constructs an instance ofCacheRuntimeExceptionwith the specified cause. -
Method Summary
Methods inherited from class org.apache.geode.GemFireException
getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
CacheRuntimeException
public CacheRuntimeException()Creates a new instance ofCacheRuntimeExceptionwithout detail message. -
CacheRuntimeException
Constructs an instance ofCacheRuntimeExceptionwith the specified detail message.- Parameters:
msg- the detail message
-
CacheRuntimeException
Constructs an instance ofCacheRuntimeExceptionwith the specified detail message and cause.- Parameters:
msg- the detail messagecause- the causal Throwable
-
CacheRuntimeException
Constructs an instance ofCacheRuntimeExceptionwith the specified cause.- Parameters:
cause- the causal Throwable
-
-
Method Details