org.exolab.castor.core.exceptions
Class CastorRuntimeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.exolab.castor.core.exceptions.CastorRuntimeException
All Implemented Interfaces:
java.io.Serializable

public final class CastorRuntimeException
extends java.lang.RuntimeException

See Also:
Serialized Form

Constructor Summary
CastorRuntimeException()
           
CastorRuntimeException(java.lang.String message)
           
CastorRuntimeException(java.lang.String message, java.lang.Throwable cause)
           
CastorRuntimeException(java.lang.Throwable cause)
           
 
Method Summary
 java.lang.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(java.io.PrintStream s)
          Print a stack trace to the specified PrintStream.
 void printStackTrace(java.io.PrintWriter w)
          Print a stack trace to the specified PrintWriter.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CastorRuntimeException

public CastorRuntimeException()

CastorRuntimeException

public CastorRuntimeException(java.lang.Throwable cause)

CastorRuntimeException

public CastorRuntimeException(java.lang.String message)

CastorRuntimeException

public CastorRuntimeException(java.lang.String message,
                              java.lang.Throwable cause)
Method Detail

getCause

public java.lang.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 void printStackTrace()
Print a stack trace to stderr.


printStackTrace

public void printStackTrace(java.io.PrintStream s)
Print a stack trace to the specified PrintStream.

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

printStackTrace

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

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


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