public class DTMConfigurationException extends DTMException
Constructor and Description |
---|
DTMConfigurationException()
Create a new
DTMConfigurationException with no
detail mesage. |
DTMConfigurationException(java.lang.String msg)
Create a new
DTMConfigurationException with
the String specified as an error message. |
DTMConfigurationException(java.lang.String message,
SourceLocator locator)
Create a new DTMConfigurationException from a message and a Locator.
|
DTMConfigurationException(java.lang.String message,
SourceLocator locator,
java.lang.Throwable e)
Wrap an existing exception in a DTMConfigurationException.
|
DTMConfigurationException(java.lang.String msg,
java.lang.Throwable e)
Create a new
DTMConfigurationException with the
given Exception base cause and detail message. |
DTMConfigurationException(java.lang.Throwable e)
Create a new
DTMConfigurationException with a
given Exception base cause of the error. |
getCause, getException, getLocationAsString, getLocator, getMessageAndLocation, initCause, printStackTrace, printStackTrace, printStackTrace, setLocator
public DTMConfigurationException()
DTMConfigurationException
with no
detail mesage.public DTMConfigurationException(java.lang.String msg)
DTMConfigurationException
with
the String
specified as an error message.msg
- The error message for the exception.public DTMConfigurationException(java.lang.Throwable e)
DTMConfigurationException
with a
given Exception
base cause of the error.e
- The exception to be encapsulated in a
DTMConfigurationException.public DTMConfigurationException(java.lang.String msg, java.lang.Throwable e)
DTMConfigurationException
with the
given Exception
base cause and detail message.msg
- The detail message.e
- The exception to be wrapped in a DTMConfigurationExceptionpublic DTMConfigurationException(java.lang.String message, SourceLocator locator)
This constructor is especially useful when an application is creating its own exception from within a DocumentHandler callback.
message
- The error or warning message.locator
- The locator object for the error or warning.public DTMConfigurationException(java.lang.String message, SourceLocator locator, java.lang.Throwable e)
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.Copyright © 2014 Apache XML Project. All Rights Reserved.