Package org.apache.xml.dtm
Class DTMConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.xml.dtm.DTMException
org.apache.xml.dtm.DTMConfigurationException
- All Implemented Interfaces:
Serializable
Indicates a serious configuration error.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a newDTMConfigurationException
with no detail mesage.Create a newDTMConfigurationException
with theString
specified as an error message.DTMConfigurationException
(String msg, Throwable e) Create a newDTMConfigurationException
with the givenException
base cause and detail message.DTMConfigurationException
(String message, SourceLocator locator) Create a new DTMConfigurationException from a message and a Locator.DTMConfigurationException
(String message, SourceLocator locator, Throwable e) Wrap an existing exception in a DTMConfigurationException.Create a newDTMConfigurationException
with a givenException
base cause of the error. -
Method Summary
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
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, toString
-
Constructor Details
-
DTMConfigurationException
public DTMConfigurationException()Create a newDTMConfigurationException
with no detail mesage. -
DTMConfigurationException
Create a newDTMConfigurationException
with theString
specified as an error message.- Parameters:
msg
- The error message for the exception.
-
DTMConfigurationException
Create a newDTMConfigurationException
with a givenException
base cause of the error.- Parameters:
e
- The exception to be encapsulated in a DTMConfigurationException.
-
DTMConfigurationException
Create a newDTMConfigurationException
with the givenException
base cause and detail message.- Parameters:
msg
- The detail message.e
- The exception to be wrapped in a DTMConfigurationException
-
DTMConfigurationException
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
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.
-