Class CastorIllegalStateException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalStateException
-
- org.exolab.castor.core.exceptions.CastorIllegalStateException
-
- All Implemented Interfaces:
java.io.Serializable
public final class CastorIllegalStateException extends java.lang.IllegalStateException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CastorIllegalStateException()
CastorIllegalStateException(java.lang.String message)
CastorIllegalStateException(java.lang.String message, java.lang.Throwable cause)
CastorIllegalStateException(java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Constructor Detail
-
CastorIllegalStateException
public CastorIllegalStateException()
-
CastorIllegalStateException
public CastorIllegalStateException(java.lang.String message)
-
CastorIllegalStateException
public CastorIllegalStateException(java.lang.Throwable cause)
-
CastorIllegalStateException
public CastorIllegalStateException(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.- Overrides:
getCause
in classjava.lang.Throwable
- Returns:
- The throwable cause of this exception.
-
printStackTrace
public void printStackTrace()
Print a stack trace to stderr.- Overrides:
printStackTrace
in classjava.lang.Throwable
-
printStackTrace
public void printStackTrace(java.io.PrintStream s)
Print a stack trace to the specified PrintStream.- Overrides:
printStackTrace
in classjava.lang.Throwable
- 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.- Overrides:
printStackTrace
in classjava.lang.Throwable
- Parameters:
w
- The PrintWriter to print a stack trace to.
-
-