- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.xml.transform.TransformerException
-
- javax.xml.transform.TransformerConfigurationException
-
- All Implemented Interfaces:
- Serializable
public class TransformerConfigurationException extends TransformerException
Indicates a serious configuration error.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description TransformerConfigurationException()
Create a newTransformerConfigurationException
with no detail mesage.TransformerConfigurationException(String msg)
Create a newTransformerConfigurationException
with theString
specified as an error message.TransformerConfigurationException(String message, SourceLocator locator)
Create a new TransformerConfigurationException from a message and a Locator.TransformerConfigurationException(String message, SourceLocator locator, Throwable e)
Wrap an existing exception in a TransformerConfigurationException.TransformerConfigurationException(String msg, Throwable e)
Create a newTransformerConfigurationException
with the givenException
base cause and detail message.TransformerConfigurationException(Throwable e)
Create a newTransformerConfigurationException
with a givenException
base cause of the error.
-
Method Summary
-
Methods inherited from class javax.xml.transform.TransformerException
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 Detail
-
TransformerConfigurationException
public TransformerConfigurationException()
Create a newTransformerConfigurationException
with no detail mesage.
-
TransformerConfigurationException
public TransformerConfigurationException(String msg)
Create a newTransformerConfigurationException
with theString
specified as an error message.- Parameters:
msg
- The error message for the exception.
-
TransformerConfigurationException
public TransformerConfigurationException(Throwable e)
Create a newTransformerConfigurationException
with a givenException
base cause of the error.- Parameters:
e
- The exception to be encapsulated in a TransformerConfigurationException.
-
TransformerConfigurationException
public TransformerConfigurationException(String msg, Throwable e)
Create a newTransformerConfigurationException
with the givenException
base cause and detail message.- Parameters:
e
- The exception to be encapsulated in a TransformerConfigurationExceptionmsg
- The detail message.
-
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.
- Parameters:
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.- 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.
-
-
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-javax/xml/transform/TransformerConfigurationException.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.