java.io.Serializable
JiBXParseException
, RecoverableException
, UnrecoverableException
public class JiBXException
extends java.lang.Exception
Modifier and Type | Field | Description |
---|---|---|
private java.lang.Throwable |
m_rootCause |
Exception that caused this exception.
|
Constructor | Description |
---|---|
JiBXException(java.lang.String msg) |
Constructor from message.
|
JiBXException(java.lang.String msg,
java.lang.Throwable root) |
Constructor from message and wrapped exception.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Throwable |
getCause() |
Get the cause of this exception.
|
java.lang.Throwable |
getRootCause() |
Get root cause exception.
|
void |
printStackTrace() |
Print stack trace to standard error.
|
void |
printStackTrace(java.io.PrintStream s) |
Print stack trace to stream.
|
void |
printStackTrace(java.io.PrintWriter s) |
Print stack trace to writer.
|
private java.lang.Throwable m_rootCause
public JiBXException(java.lang.String msg)
msg
- message describing the exception conditionpublic JiBXException(java.lang.String msg, java.lang.Throwable root)
msg
- message describing the exception conditionroot
- exception which caused this exceptionpublic java.lang.Throwable getRootCause()
public java.lang.Throwable getCause()
java.lang.Throwable
method.getCause
in class java.lang.Throwable
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream s)
printStackTrace
in class java.lang.Throwable
s
- stream for printing stack tracepublic void printStackTrace(java.io.PrintWriter s)
printStackTrace
in class java.lang.Throwable
s
- writer for printing stack trace