Package org.apache.geode.cache
Class ResourceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.geode.GemFireException
org.apache.geode.cache.CacheRuntimeException
org.apache.geode.cache.ResourceException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
LowMemoryException
A Generic exception to indicate that a resource exception has occurred. This class is abstract so
that only subclasses can be instantiated.
- Since:
- GemFire 6.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance ofResourceExceptionwithout detail message.ResourceException(String msg) Constructs an instance ofResourceExceptionwith the specified detail message.ResourceException(String msg, Throwable cause) Constructs an instance ofResourceExceptionwith the specified detail message and cause.ResourceException(Throwable cause) Constructs an instance ofResourceExceptionwith the specified cause. -
Method Summary
Methods inherited from class org.apache.geode.cache.CacheRuntimeException
toStringMethods 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
-
ResourceException
public ResourceException()Creates a new instance ofResourceExceptionwithout detail message. -
ResourceException
Constructs an instance ofResourceExceptionwith the specified detail message.- Parameters:
msg- the detail message
-
ResourceException
Constructs an instance ofResourceExceptionwith the specified detail message and cause.- Parameters:
msg- the detail messagecause- the causal Throwable
-
ResourceException
Constructs an instance ofResourceExceptionwith the specified cause.- Parameters:
cause- the causal Throwable
-