GemFire 6.6.3

com.gemstone.gemfire.cache
Class CacheRuntimeException

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.CacheRuntimeException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CacheXmlException, CancelException, CqClosedException, DiskAccessException, EntryDestroyedException, FailedSynchronizationException, IndexMaintenanceException, OperationAbortedException, PartitionedRegionDistributionException, PartitionedRegionStorageException, QueryExecutionTimeoutException, RegionDestroyedException, RegionNotFoundException, ResourceException, RoleException, StatisticsDisabledException, SynchronizationCommitConflictException

public abstract class CacheRuntimeException
extends GemFireException

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

Constructor Summary
CacheRuntimeException()
          Creates a new instance of CacheRuntimeException without detail message.
CacheRuntimeException(String msg)
          Constructs an instance of CacheRuntimeException with the specified detail message.
CacheRuntimeException(String msg, Throwable cause)
          Constructs an instance of CacheRuntimeException with the specified detail message and cause.
CacheRuntimeException(Throwable cause)
          Constructs an instance of CacheRuntimeException with the specified 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

CacheRuntimeException

public CacheRuntimeException()
Creates a new instance of CacheRuntimeException without detail message.


CacheRuntimeException

public CacheRuntimeException(String msg)
Constructs an instance of CacheRuntimeException with the specified detail message.

Parameters:
msg - the detail message

CacheRuntimeException

public CacheRuntimeException(String msg,
                             Throwable cause)
Constructs an instance of CacheRuntimeException with the specified detail message and cause.

Parameters:
msg - the detail message
cause - the causal Throwable

CacheRuntimeException

public CacheRuntimeException(Throwable cause)
Constructs an instance of CacheRuntimeException with the specified cause.

Parameters:
cause - the causal Throwable
Method Detail

toString

public String toString()
Overrides:
toString in class Throwable

GemFire 6.6.3

Copyright © 1997-2012 VMware, Inc. All rights reserved.