org.exolab.castor.jdo

Class DataObjectAccessException

public class DataObjectAccessException extends RuntimeException

An exception encapsulating another exception which occurs during operation to data object.

Version: $Revision: 6299 $ $Date: 2006-02-23 13:49:30 -0700 (Thu, 23 Feb 2006) $

Author: Sebastien Gignoux

Constructor Summary
DataObjectAccessException(String message, Throwable cause)
Creates an instance of this exception.
DataObjectAccessException(String message)
Creates an instance of this exception.
Method Summary
ThrowablegetCause()
Match the JDK 1.4 Throwable version of getCause() on JDK<1.4 systems.
voidprintStackTrace()
Print a stack trace to stderr.
voidprintStackTrace(PrintStream s)
Print a stack trace to the specified PrintStream.
voidprintStackTrace(PrintWriter w)
Print a stack trace to the specified PrintWriter.

Constructor Detail

DataObjectAccessException

public DataObjectAccessException(String message, Throwable cause)
Creates an instance of this exception.

Parameters: message The error message. cause The original excepton.

DataObjectAccessException

public DataObjectAccessException(String message)
Creates an instance of this exception.

Parameters: message The error message.

Method Detail

getCause

public final Throwable getCause()
Match the JDK 1.4 Throwable version of getCause() on JDK<1.4 systems.

Returns: 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.

Parameters: s The PrintStream to print a stack trace to.

printStackTrace

public final void printStackTrace(PrintWriter w)
Print a stack trace to the specified PrintWriter.

Parameters: w The PrintWriter to print a stack trace to.

Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com