org.castor.core.exceptions
Class CastorRuntimeException
RuntimeException
org.castor.core.exceptions.CastorRuntimeException
public class CastorRuntimeException
extends RuntimeException
CastorRuntimeException is the superclass of all unchecked Castor exceptions that are thrown
during the normal operation of the Java Virtual Machine.
$Id: Configuration.java,v 1.8 2006/03/08 17:25:52 jens Exp $CastorRuntimeException() - Constructs a new Castor runtime exception without a message.
|
CastorRuntimeException(String message) - Constructs a new Castor runtime exception with the specified detail message.
|
CastorRuntimeException(String message, Throwable cause) - Constructs a new Castor runtime exception with the specified detail message and cause.
|
CastorRuntimeException(Throwable cause) - Constructs a new Castor runtime exception with the specified cause and the detail message
of the cause.
|
Throwable | getCause() - The method emulates the JDK 1.4 Throwable version of getCause() for JDKs before 1.4.
|
Throwable | initCause(Throwable cause) - The method emulates the JDK 1.4 Throwable version of initCause() for JDKs before 1.4.
|
void | printStackTrace() -
|
void | printStackTrace(PrintStream s) -
|
void | printStackTrace(PrintWriter w) -
|
CastorRuntimeException
public CastorRuntimeException()
Constructs a new Castor runtime exception without a message. The cause is not initialized
but may subsequently be initialized by a call to initCause(Throwable).
CastorRuntimeException
public CastorRuntimeException(String message)
Constructs a new Castor runtime exception with the specified detail message. The cause is
not initialized but may subsequently be initialized by a call to initCause(Throwable).
message
- The detail message.
CastorRuntimeException
public CastorRuntimeException(String message,
Throwable cause)
Constructs a new Castor runtime exception with the specified detail message and cause.
message
- The detail message.cause
- The cause.
CastorRuntimeException
public CastorRuntimeException(Throwable cause)
Constructs a new Castor runtime exception with the specified cause and the detail message
of the cause. This constructor is useful for exceptions that are wrappers for others.
getCause
public final Throwable getCause()
The method emulates the JDK 1.4 Throwable version of getCause() for JDKs before 1.4.
initCause
public final Throwable initCause(Throwable cause)
The method emulates the JDK 1.4 Throwable version of initCause() for JDKs before 1.4.
printStackTrace
public void printStackTrace()
printStackTrace
public final void printStackTrace(PrintStream s)
printStackTrace
public final void printStackTrace(PrintWriter w)
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com