VMware GemFire Java API Reference
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:
java.io.Serializable
- Direct Known Subclasses:
CacheExistsException,EntryExistsException,EntryNotFoundException,RegionExistsException,TransactionException
public abstract class CacheException extends GemFireException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CacheException()Constructs a newCacheException.CacheException(java.lang.String s)Constructs a newCacheExceptionwith a message string.CacheException(java.lang.String s, java.lang.Throwable cause)Constructs aCacheExceptionwith a message string and a base exceptionCacheException(java.lang.Throwable cause)Constructs aCacheExceptionwith a cause
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()-
Methods inherited from class org.apache.geode.GemFireException
getRootCause
-
-
-
-
Constructor Detail
-
CacheException
public CacheException()
Constructs a newCacheException.
-
CacheException
public CacheException(java.lang.String s)
Constructs a newCacheExceptionwith a message string.- Parameters:
s- the detail message
-
CacheException
public CacheException(java.lang.String s, java.lang.Throwable cause)Constructs aCacheExceptionwith a message string and a base exception- Parameters:
s- the detail messagecause- the cause
-
CacheException
public CacheException(java.lang.Throwable cause)
Constructs aCacheExceptionwith a cause- Parameters:
cause- the cause
-
-