public class CastorRuntimeException extends RuntimeException
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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) |
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, toStringpublic CastorRuntimeException()
public CastorRuntimeException(String message)
message - The detail message.public CastorRuntimeException(Throwable cause)
cause - The cause.public final Throwable initCause(Throwable cause)
public final Throwable getCause()
public void printStackTrace()
printStackTrace in class Throwablepublic final void printStackTrace(PrintStream s)
printStackTrace in class Throwablepublic final void printStackTrace(PrintWriter w)
printStackTrace in class ThrowableCopyright © 2021. All rights reserved.