|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.exolab.castor.dtx.DTXException
public class DTXException
A general class for exceptions associated with Castor DTX. Can haved a nested exception or just a regular message.
| Constructor Summary | |
|---|---|
DTXException(java.lang.Exception except)
Constructor using a nested exception. |
|
DTXException(java.lang.String message)
Constructor using a simple string message. |
|
| Method Summary | |
|---|---|
java.lang.String |
getMessage()
Returns this message, or the nested exception's message. |
java.lang.Exception |
getNestedException()
Gets the nested exception, if there is one. |
void |
printStackTrace(java.io.PrintStream out)
|
void |
printStackTrace(java.io.PrintWriter out)
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DTXException(java.lang.Exception except)
except - The nested exception.public DTXException(java.lang.String message)
message - The message.| Method Detail |
|---|
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.Exception getNestedException()
public void printStackTrace(java.io.PrintWriter out)
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream out)
printStackTrace in class java.lang.Throwable
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||