org.exolab.castor.jdo
Class DataObjectAccessException
RuntimeException
org.exolab.castor.jdo.DataObjectAccessException
public class DataObjectAccessException
extends RuntimeException
An exception encapsulating another exception which occurs during
operation to data object.
$Revision: 6299 $ $Date: 2006-02-23 13:49:30 -0700 (Thu, 23 Feb 2006) $
Throwable | getCause() - Match the JDK 1.4 Throwable version of getCause() on JDK<1.4 systems.
|
void | printStackTrace() - Print a stack trace to stderr.
|
void | printStackTrace(PrintStream s) - Print a stack trace to the specified PrintStream.
|
void | printStackTrace(PrintWriter w) - Print a stack trace to the specified PrintWriter.
|
DataObjectAccessException
public DataObjectAccessException(String message)
Creates an instance of this exception.
message
- The error message.
DataObjectAccessException
public DataObjectAccessException(String message,
Throwable cause)
Creates an instance of this exception.
message
- The error message.cause
- The original excepton.
getCause
public final Throwable getCause()
Match the JDK 1.4 Throwable version of getCause() on JDK<1.4 systems.
- The throwable cause of this exception.
printStackTrace
public final void printStackTrace()
Print a stack trace to stderr.
printStackTrace
public final void printStackTrace(PrintStream s)
Print a stack trace to the specified PrintStream.
s
- The PrintStream to print a stack trace to.
printStackTrace
public final void printStackTrace(PrintWriter w)
Print a stack trace to the specified PrintWriter.
w
- The PrintWriter to print a stack trace to.
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com