org.exolab.castor.core.exceptions
Class CastorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.exolab.castor.core.exceptions.CastorException
All Implemented Interfaces:
Serializable

public class CastorException
extends Exception

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:
Serialized Form

Constructor Summary
CastorException()
          Creates a new CastorException with no message, or nested Exception
CastorException(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
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CastorException

public CastorException()
Creates a new CastorException with no message, or nested Exception


CastorException

public CastorException(String message)
Creates a new CastorException with the given message.

Parameters:
message - the message for this Exception

CastorException

public CastorException(String message,
                       Throwable cause)
Creates a new CastorException with the given message and cause.

Parameters:
message - The message for this exception.
cause - A Throwable instance.

CastorException

public CastorException(Throwable cause)
Creates a new CastorException with the given cause.

Parameters:
cause - A Throwable instance.


Copyright © 2013. All Rights Reserved.