|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.jibx.ws.WsException
public class WsException
JiBX/WS exception class. This is used for a variety of errors that can be generated by the runtime.
Constructor Summary | |
---|---|
WsException(String msg)
Constructor from message. |
|
WsException(String msg,
Throwable root)
Constructor from message and wrapped exception. |
Method Summary | |
---|---|
Throwable |
getRootCause()
Get root cause exception. |
void |
printStackTrace()
Print stack trace to standard error. |
void |
printStackTrace(PrintStream s)
Print stack trace to stream. |
void |
printStackTrace(PrintWriter s)
Print stack trace to writer. |
String |
toString()
Build string representation. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WsException(String msg)
msg
- message describing the exception conditionpublic WsException(String msg, Throwable root)
msg
- message describing the exception conditionroot
- exception which caused this exceptionMethod Detail |
---|
public Throwable getRootCause()
public String toString()
toString
in class Throwable
public void printStackTrace()
printStackTrace
in class Throwable
public void printStackTrace(PrintStream s)
printStackTrace
in class Throwable
s
- stream for printing stack tracepublic void printStackTrace(PrintWriter s)
printStackTrace
in class Throwable
s
- writer for printing stack trace
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |