org.exolab.castor.core.exceptions

Class CastorIllegalStateException

public final class CastorIllegalStateException extends IllegalStateException

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

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.

Returns: The throwable cause of this exception.

printStackTrace

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

printStackTrace

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

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

printStackTrace

public 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