GemFire 6.6.3

com.gemstone.gemfire.cache
Class ResourceException

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
                      extended by com.gemstone.gemfire.cache.ResourceException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
LowMemoryException

public abstract class ResourceException
extends CacheRuntimeException

A Generic exception to indicate that a resource exception has occurred. This class is abstract so that only subclasses can be instantiated.

Since:
6.0
See Also:
Serialized Form

Constructor Summary
ResourceException()
          Creates a new instance of ResourceException without detail message.
ResourceException(String msg)
          Constructs an instance of ResourceException with the specified detail message.
ResourceException(String msg, Throwable cause)
          Constructs an instance of ResourceException with the specified detail message and cause.
ResourceException(Throwable cause)
          Constructs an instance of ResourceException with the specified cause.
 
Method Summary
 
Methods inherited from class com.gemstone.gemfire.cache.CacheRuntimeException
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

ResourceException

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


ResourceException

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

Parameters:
msg - the detail message

ResourceException

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

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

ResourceException

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

Parameters:
cause - the causal Throwable

GemFire 6.6.3

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