Serializable
public class TransformerConfigurationException extends TransformerException
Constructor | Description |
---|---|
TransformerConfigurationException() |
Create a new TransformerConfigurationException with no detail message. |
TransformerConfigurationException |
Create a new TransformerConfigurationException with the String specified as an error message. |
TransformerConfigurationException |
Create a new TransformerConfigurationException with the given Exception base cause and detail message. |
TransformerConfigurationException |
Create a new TransformerConfigurationException from a message and a Locator. |
TransformerConfigurationException |
Wrap an existing exception in a TransformerConfigurationException. |
TransformerConfigurationException |
Create a new TransformerConfigurationException with a given Exception base cause of the error. |
getCause, getException, getLocationAsString, getLocator, getMessageAndLocation, initCause, printStackTrace, printStackTrace, printStackTrace, setLocator
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, toString
public TransformerConfigurationException()
TransformerConfigurationException
with no detail message.public TransformerConfigurationException(String msg)
TransformerConfigurationException
with the String
specified as an error message.msg
- The error message for the exception.public TransformerConfigurationException(Throwable e)
TransformerConfigurationException
with a given Exception
base cause of the error.e
- The exception to be encapsulated in a TransformerConfigurationException.public TransformerConfigurationException(String msg, Throwable e)
TransformerConfigurationException
with the given Exception
base cause and detail message.msg
- The detail message.e
- The exception to be encapsulated in a TransformerConfigurationExceptionpublic TransformerConfigurationException(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(String message, SourceLocator locator, 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.
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.xml/javax/xml/transform/TransformerConfigurationException.html