org.exolab.castor.core.exceptions
Class CastorIllegalStateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalStateException
                  extended by org.exolab.castor.core.exceptions.CastorIllegalStateException
All Implemented Interfaces:
Serializable

public final class CastorIllegalStateException
extends IllegalStateException

See Also:
Serialized Form

Constructor Summary
CastorIllegalStateException()
           
CastorIllegalStateException(String message)
           
CastorIllegalStateException(String message, Throwable cause)
           
CastorIllegalStateException(Throwable cause)
           
 
Method Summary
 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.
 
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

CastorIllegalStateException

public CastorIllegalStateException()

CastorIllegalStateException

public CastorIllegalStateException(String message)

CastorIllegalStateException

public CastorIllegalStateException(Throwable cause)

CastorIllegalStateException

public CastorIllegalStateException(String message,
                                   Throwable cause)
Method Detail

getCause

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

Overrides:
getCause in class Throwable
Returns:
The throwable cause of this exception.

printStackTrace

public void printStackTrace()
Print a stack trace to stderr.

Overrides:
printStackTrace in class Throwable

printStackTrace

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

Overrides:
printStackTrace in class Throwable
Parameters:
s - The PrintStream to print a stack trace to.

printStackTrace

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

Overrides:
printStackTrace in class Throwable
Parameters:
w - The PrintWriter to print a stack trace to.


Copyright © 2012. All Rights Reserved.