javax.xml.transform
Class TransformerConfigurationException
public class TransformerConfigurationException
Indicates a serious configuration error.
TransformerConfigurationException
public TransformerConfigurationException()
Create a new TransformerConfigurationException
with no
detail mesage.
TransformerConfigurationException
public TransformerConfigurationException(String msg)
Create a new TransformerConfigurationException
with
the String
specified as an error message.
msg
- The error message for the exception.
TransformerConfigurationException
public TransformerConfigurationException(String msg,
Throwable e)
Create a new TransformerConfigurationException
with the
given Exception
base cause and detail message.
msg
- The detail message.e
- The exception to be encapsulated in a
TransformerConfigurationException
TransformerConfigurationException
public TransformerConfigurationException(String message,
SourceLocator locator)
Create a new TransformerConfigurationException from a message and a 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.
TransformerConfigurationException
public TransformerConfigurationException(String message,
SourceLocator locator,
Throwable e)
Wrap an existing exception in a TransformerConfigurationException.
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.
TransformerConfigurationException
public TransformerConfigurationException(Throwable e)
Create a new TransformerConfigurationException
with a
given Exception
base cause of the error.
e
- The exception to be encapsulated in a
TransformerConfigurationException.