Package org.apache.geode.cache
Class CacheException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.geode.GemFireException
org.apache.geode.cache.CacheException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CacheExistsException,EntryExistsException,EntryNotFoundException,RegionExistsException,TransactionException
A generic exception, which indicates a cache error has occurred. All the other cache exceptions
are subclasses of this class. This class is abstract and therefore only subclasses are
instantiated.
- Since:
- GemFire 2.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newCacheException.Constructs a newCacheExceptionwith a message string.CacheException(String s, Throwable cause) Constructs aCacheExceptionwith a message string and a base exceptionCacheException(Throwable cause) Constructs aCacheExceptionwith a 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
-
CacheException
public CacheException()Constructs a newCacheException. -
CacheException
Constructs a newCacheExceptionwith a message string.- Parameters:
s- the detail message
-
CacheException
Constructs aCacheExceptionwith a message string and a base exception- Parameters:
s- the detail messagecause- the cause
-
CacheException
Constructs aCacheExceptionwith a cause- Parameters:
cause- the cause
-
-
Method Details