org.apache.xml.dtm
Class DTMConfigurationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.apache.xml.dtm.DTMException
                  extended byorg.apache.xml.dtm.DTMConfigurationException
All Implemented Interfaces:
Serializable

public class DTMConfigurationException
extends DTMException

Indicates a serious configuration error.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.xml.dtm.DTMException
containedException, locator
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
DTMConfigurationException()
          Create a new DTMConfigurationException with no detail mesage.
DTMConfigurationException(String msg)
          Create a new DTMConfigurationException with the String specified as an error message.
DTMConfigurationException(String message, javax.xml.transform.SourceLocator locator)
          Create a new DTMConfigurationException from a message and a Locator.
DTMConfigurationException(String message, javax.xml.transform.SourceLocator locator, Throwable e)
          Wrap an existing exception in a DTMConfigurationException.
DTMConfigurationException(String msg, Throwable e)
          Create a new DTMConfigurationException with the given Exception base cause and detail message.
DTMConfigurationException(Throwable e)
          Create a new DTMConfigurationException with a given Exception base cause of the error.
 
Methods inherited from class org.apache.xml.dtm.DTMException
getCause, getException, getLocationAsString, getLocator, getMessageAndLocation, initCause, printStackTrace, printStackTrace, printStackTrace, setLocator
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DTMConfigurationException

public DTMConfigurationException()
Create a new DTMConfigurationException with no detail mesage.


DTMConfigurationException

public DTMConfigurationException(String msg)
Create a new DTMConfigurationException with the String specified as an error message.

Parameters:
msg - The error message for the exception.

DTMConfigurationException

public DTMConfigurationException(Throwable e)
Create a new DTMConfigurationException with a given Exception base cause of the error.

Parameters:
e - The exception to be encapsulated in a DTMConfigurationException.

DTMConfigurationException

public DTMConfigurationException(String msg,
                                 Throwable e)
Create a new DTMConfigurationException with the given Exception base cause and detail message.

Parameters:
e - The exception to be encapsulated in a DTMConfigurationException
msg - The detail message.

DTMConfigurationException

public DTMConfigurationException(String message,
                                 javax.xml.transform.SourceLocator locator)
Create a new DTMConfigurationException from a message and a Locator.

This constructor is especially useful when an application is creating its own exception from within a DocumentHandler callback.

Parameters:
message - The error or warning message.
locator - The locator object for the error or warning.

DTMConfigurationException

public DTMConfigurationException(String message,
                                 javax.xml.transform.SourceLocator locator,
                                 Throwable e)
Wrap an existing exception in a DTMConfigurationException.

Parameters:
message - The error or warning message, or null to use the message from the embedded exception.
locator - The locator object for the error or warning.
e - Any exception.