org.cdlib.xtf.dynaXML
Class DynaXMLException

Object
  extended by Throwable
      extended by Exception
          extended by RuntimeException
              extended by GeneralException
                  extended by DynaXMLException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidDocumentException, NoPermissionException, UnsupportedQueryException

 class DynaXMLException
extends GeneralException

A general-purpose exception used for problems that may occasionally happen and are expected to. When one of these is thrown, the errorGen stylesheet only receives a callstack if isSevere() returns true.


Field Summary
 
Fields inherited from class GeneralException
attribs
 
Constructor Summary
DynaXMLException(String message)
          Default constructor.
DynaXMLException(String message, Throwable cause)
          Constructor that includes a reference to the exception that caused this one.
 
Method Summary
 
Methods inherited from class GeneralException
isSevere, set
 
Methods inherited from class Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DynaXMLException

public DynaXMLException(String message)
Default constructor.

Parameters:
message - Description of what happened

DynaXMLException

public DynaXMLException(String message,
                        Throwable cause)
Constructor that includes a reference to the exception that caused this one.

Parameters:
message - Description of what happened
cause - The exception that caused this one.