Package javax.xml.transform
Class TransformerConfigurationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.xml.transform.TransformerException
-
- javax.xml.transform.TransformerConfigurationException
-
- All Implemented Interfaces:
java.io.Serializable
public class TransformerConfigurationException extends TransformerException
Indicates a serious configuration error.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransformerConfigurationException()Create a newTransformerConfigurationExceptionwith no detail message.TransformerConfigurationException(java.lang.String msg)Create a newTransformerConfigurationExceptionwith theStringspecified as an error message.TransformerConfigurationException(java.lang.String msg, java.lang.Throwable e)Create a newTransformerConfigurationExceptionwith the givenExceptionbase cause and detail 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.Throwable e)Create a newTransformerConfigurationExceptionwith a givenExceptionbase cause of the error.
-
Method Summary
-
Methods inherited from class javax.xml.transform.TransformerException
getCause, getException, getLocationAsString, getLocator, getMessageAndLocation, initCause, printStackTrace, printStackTrace, printStackTrace, setLocator
-
-
-
-
Constructor Detail
-
TransformerConfigurationException
public TransformerConfigurationException()
Create a newTransformerConfigurationExceptionwith no detail message.
-
TransformerConfigurationException
public TransformerConfigurationException(java.lang.String msg)
Create a newTransformerConfigurationExceptionwith theStringspecified as an error message.- Parameters:
msg- The error message for the exception.
-
TransformerConfigurationException
public TransformerConfigurationException(java.lang.Throwable e)
Create a newTransformerConfigurationExceptionwith a givenExceptionbase cause of the error.- Parameters:
e- The exception to be encapsulated in a TransformerConfigurationException.
-
TransformerConfigurationException
public TransformerConfigurationException(java.lang.String msg, java.lang.Throwable e)Create a newTransformerConfigurationExceptionwith the givenExceptionbase cause and detail message.- Parameters:
e- The exception to be encapsulated in a TransformerConfigurationExceptionmsg- The detail message.
-
TransformerConfigurationException
public TransformerConfigurationException(java.lang.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.
- Parameters:
message- The error or warning message.locator- The locator object for the error or warning.
-
TransformerConfigurationException
public TransformerConfigurationException(java.lang.String message, SourceLocator locator, java.lang.Throwable e)Wrap an existing exception in a TransformerConfigurationException.- 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.
-
-