Class ObjectStoreException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.gargoylesoftware.base.objectstore.ObjectStoreException
- All Implemented Interfaces:
Serializable
Thrown when an error occuring during the processing of an object store.
- Version:
- $Revision: 1.4 $
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Create an instanceCreate an instanceObjectStoreException
(String message) Create an instanceObjectStoreException
(String message, Exception e) Create an instance -
Method Summary
Modifier and TypeMethodDescriptionReturn the enclosed exceptionvoid
printStackTrace
(PrintStream stream) Print the stack trace.void
printStackTrace
(PrintWriter writer) Print the stack trace.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
exception_
-
-
Constructor Details
-
ObjectStoreException
Create an instance- Parameters:
message
- The text of the exception
-
ObjectStoreException
Create an instance- Parameters:
e
- An exception that this exception is enclosing
-
ObjectStoreException
Create an instance- Parameters:
message
- The text of the exceptione
- An exception that this exception is enclosing
-
ObjectStoreException
protected ObjectStoreException()Create an instance
-
-
Method Details
-
getException
Return the enclosed exception- Returns:
- The enclosed exception or null if one was not specified
-
printStackTrace
Print the stack trace. If this exception contains another exception then the stack traces for both will be printed.- Overrides:
printStackTrace
in classThrowable
- Parameters:
writer
- Where the stack trace will be written
-
printStackTrace
Print the stack trace. If this exception contains another exception then the stack traces for both will be printed.- Overrides:
printStackTrace
in classThrowable
- Parameters:
stream
- Where the stack trace will be written
-