public class TransformerConfigurationException extends TransformerException
| Constructor and Description |
|---|
TransformerConfigurationException()
Create a new
TransformerConfigurationException with no
detail message. |
TransformerConfigurationException(java.lang.String msg)
Create a new
TransformerConfigurationException with
the String specified as an error message. |
TransformerConfigurationException(java.lang.String message,
SourceLocator locator)
Create a new TransformerConfigurationException from a message and a Locator.
|
TransformerConfigurationException(java.lang.String message,
SourceLocator locator,
java.lang.Throwable e)
Wrap an existing exception in a TransformerConfigurationException.
|
TransformerConfigurationException(java.lang.String msg,
java.lang.Throwable e)
Create a new
TransformerConfigurationException with the
given Exception base cause and detail message. |
TransformerConfigurationException(java.lang.Throwable e)
Create a new
TransformerConfigurationException with a
given Exception base cause of the error. |
getCause, getException, getLocationAsString, getLocator, getMessageAndLocation, initCause, printStackTrace, printStackTrace, printStackTrace, setLocatorpublic TransformerConfigurationException()
TransformerConfigurationException with no
detail message.public TransformerConfigurationException(java.lang.String msg)
TransformerConfigurationException with
the String specified as an error message.msg - The error message for the exception.public TransformerConfigurationException(java.lang.Throwable e)
TransformerConfigurationException with a
given Exception base cause of the error.e - The exception to be encapsulated in a
TransformerConfigurationException.public TransformerConfigurationException(java.lang.String msg,
java.lang.Throwable e)
TransformerConfigurationException with the
given Exception base cause and detail message.e - The exception to be encapsulated in a
TransformerConfigurationExceptionmsg - The detail message.public TransformerConfigurationException(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 TransformerConfigurationException(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 © 1999-2022 The Apache Software Foundation. All Rights Reserved.