org.exolab.castor.dtx
Class DTXException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.exolab.castor.dtx.DTXException
- All Implemented Interfaces:
- java.io.Serializable
- public class DTXException
- extends java.lang.Exception
A general class for exceptions associated with Castor DTX. Can
haved a nested exception or just a regular message.
- Version:
- $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:05 $
- Author:
- Evan Prodromou
- See Also:
- Serialized Form
Fields inherited from class java.lang.Exception |
|
Constructor Summary |
DTXException(java.lang.Exception except)
Constructor using a nested exception. |
DTXException(java.lang.String message)
Constructor using a simple string message. |
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 |
DTXException
public DTXException(java.lang.Exception except)
- Constructor using a nested exception.
- Parameters:
except
- The nested exception.
DTXException
public DTXException(java.lang.String message)
- Constructor using a simple string message.
- Parameters:
message
- The message.
getMessage
public java.lang.String getMessage()
- Returns this message, or the nested exception's message.
- Returns:
- String value of the message.
getNestedException
public java.lang.Exception getNestedException()
- Gets the nested exception, if there is one.
- Returns:
- Nested exception, or null if this is a message exception only.
printStackTrace
public void printStackTrace(java.io.PrintWriter out)
printStackTrace
public void printStackTrace(java.io.PrintStream out)
Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com