Package org.exolab.castor.jdo
Class DataObjectAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.exolab.castor.jdo.DataObjectAccessException
- All Implemented Interfaces:
Serializable
An exception encapsulating another exception which occurs during
operation to data object.
- Version:
- $Revision: 8104 $ $Date: 2006-02-23 13:49:30 -0700 (Thu, 23 Feb 2006) $
- Author:
- Sebastien Gignoux
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDataObjectAccessException
(String message) Creates an instance of this exception.DataObjectAccessException
(String message, Throwable cause) Creates an instance of this exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
DataObjectAccessException
Creates an instance of this exception.- Parameters:
message
- The error message.cause
- The original excepton.
-
DataObjectAccessException
Creates an instance of this exception.- Parameters:
message
- The error message.
-
-
Method Details
-
getCause
Match the JDK 1.4 Throwable version of getCause() on JDK<1.4 systems. -
printStackTrace
public final void printStackTrace()Print a stack trace to stderr.- Overrides:
printStackTrace
in classThrowable
-
printStackTrace
Print a stack trace to the specified PrintStream.- Overrides:
printStackTrace
in classThrowable
- Parameters:
s
- The PrintStream to print a stack trace to.
-
printStackTrace
Print a stack trace to the specified PrintWriter.- Overrides:
printStackTrace
in classThrowable
- Parameters:
w
- The PrintWriter to print a stack trace to.
-