GemFire 5.8

com.gemstone.gemfire.cache
Class CacheException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.gemstone.gemfire.GemFireException
                  extended by com.gemstone.gemfire.cache.CacheException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CacheExistsException, CommitConflictException, CommitIncompleteException, EntryExistsException, EntryNotFoundException, RegionExistsException

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:
2.0
See Also:
Serialized Form

Constructor Summary
CacheException()
          Constructs a new CacheException.
CacheException(String s)
          Constructs a new CacheException with a message string.
CacheException(String s, Throwable cause)
          Constructs a CacheException with a message string and a base exception
CacheException(Throwable cause)
          Constructs a CacheException with a cause
 
Method Summary
 String toString()
           
 
Methods inherited from class com.gemstone.gemfire.GemFireException
getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheException

public CacheException()
Constructs a new CacheException.


CacheException

public CacheException(String s)
Constructs a new CacheException with a message string.


CacheException

public CacheException(String s,
                      Throwable cause)
Constructs a CacheException with a message string and a base exception


CacheException

public CacheException(Throwable cause)
Constructs a CacheException with a cause

Method Detail

toString

public String toString()
Overrides:
toString in class Throwable

GemFire 5.8

Copyright © 2002-2008 GemStone Systems, Inc. All Rights Reserved.