org.sixdml.exceptions
Class SixdmlException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.sixdml.exceptions.SixdmlException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DocumentAlreadyExistsException, IndexAlreadyExistsException, InvalidCollectionDocumentException, InvalidQueryException, InvalidSchemaException, InvalidTransformException, NonExistentDocumentException, NonExistentIndexException, NonWellFormedXMLException, UnsupportedIndexTypeException, UpdateTypeMismatchException

public class SixdmlException
extends Exception

 SixdmlException.java

 Base class of all Exceptions in the org.sixdml hierarchy.

 Created: Thu Jan 10 07:02:40 2002
 

Version:
1.0
Author:
Dare Obasanjo
See Also:
Serialized Form

Field Summary
private  Throwable sixmlExceptionCause
          The cause of this exception which is set via one of the constructors that accepts a Throwable.
 
Fields inherited from class java.lang.Throwable
backtrace, detailMessage, serialVersionUID
 
Constructor Summary
SixdmlException()
          Constructs a SixdmlException with no detail message.
SixdmlException(String message)
          Constructs a SixdmlException with the specified detail message.
SixdmlException(String message, Throwable cause)
          Constructs a SixdmlException with the specified cause.
SixdmlException(Throwable cause)
          Constructs a SixdmlException with the specified detail message and cause.
 
Method Summary
 Throwable getCause()
          Returns the cause of this throwable or null if the cause is nonexistent or unknown.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, printStackTrace0, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

sixmlExceptionCause

private Throwable sixmlExceptionCause
The cause of this exception which is set via one of the constructors that accepts a Throwable.
Constructor Detail

SixdmlException

public SixdmlException()
Constructs a SixdmlException with no detail message.

SixdmlException

public SixdmlException(String message)
Constructs a SixdmlException with the specified detail message.

SixdmlException

public SixdmlException(Throwable cause)
Constructs a SixdmlException with the specified detail message and cause.

SixdmlException

public SixdmlException(String message,
                       Throwable cause)
Constructs a SixdmlException with the specified cause.
Method Detail

getCause

public Throwable getCause()
Returns the cause of this throwable or null if the cause is nonexistent or unknown. (The cause is the throwable that caused this throwable to get thrown.) This implementation returns the cause that was supplied via one of the constructors requiring a Throwable, or that was set after creation with the initCause(Throwable) method.

NOTE: Implemented to provide Java 1.4 functionality in 1.3 and lesser.
Returns:
the cause of this throwable or null if the cause is nonexistent or unknown.