Class CastorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.exolab.castor.core.exceptions.CastorException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
XMLException
The base exception for Castor (or at least Castor XML).
- Version:
- $Revision: 6301 $ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $
- Author:
- Keith Visco
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new CastorException with no message, or nested ExceptionCastorException
(String message) Creates a new CastorException with the given message.CastorException
(String message, Throwable cause) Creates a new CastorException with the given message and cause.CastorException
(Throwable cause) Creates a new CastorException with the given cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CastorException
public CastorException()Creates a new CastorException with no message, or nested Exception -
CastorException
Creates a new CastorException with the given message.- Parameters:
message
- the message for this Exception
-
CastorException
Creates a new CastorException with the given message and cause.- Parameters:
message
- The message for this exception.cause
- A Throwable instance.
-
CastorException
Creates a new CastorException with the given cause.- Parameters:
cause
- A Throwable instance.
-