org.axiondb
Class AxionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.axiondb.AxionException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConstraintViolationException, TransactionConflictException

public class AxionException
extends Exception

Root exception for Axion related or specific problems.

Version:
$Revision: 1.3 $ $Date: 2004/08/27 03:21:20 $
See Also:
Serialized Form

Constructor Summary
AxionException()
          Equivalent to AxionException(null,null).
AxionException(String message)
          Equivalent to AxionException(message,null).
AxionException(String message, Throwable nested)
          Construct a new AxionException with the given message, wrapping the given Throwable.
AxionException(Throwable nested)
          Equivalent to AxionException(null,nested).
 
Method Summary
 Throwable getNestedThrowable()
          Return the Throwable I'm wrapping, if any.
 
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

AxionException

public AxionException()
Equivalent to AxionException(null,null).


AxionException

public AxionException(String message)
Equivalent to AxionException(message,null).


AxionException

public AxionException(String message,
                      Throwable nested)
Construct a new AxionException with the given message, wrapping the given Throwable.

Parameters:
message - my detailed message (possibly null)
nested - a Throwable to wrap (possibly null)

AxionException

public AxionException(Throwable nested)
Equivalent to AxionException(null,nested).

Method Detail

getNestedThrowable

public Throwable getNestedThrowable()
Return the Throwable I'm wrapping, if any.

Returns:
the Throwable I'm wrapping, if any.