Serializable
public class TransformerConfigurationException extends TransformerException
Constructor | Description |
---|---|
TransformerConfigurationException() |
Create a new
TransformerConfigurationException with no
detail message. |
TransformerConfigurationException(String msg) |
Create a new
TransformerConfigurationException with
the String specified as an error message. |
TransformerConfigurationException(String msg,
Throwable e) |
Create a new
TransformerConfigurationException with the
given Exception base cause and detail 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(Throwable e) |
Create a new
TransformerConfigurationException with a
given Exception base cause of the error. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, toString
getCause, getException, getLocationAsString, getLocator, getMessageAndLocation, initCause, printStackTrace, printStackTrace, printStackTrace, setLocator
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.e
- The exception to be encapsulated in a
TransformerConfigurationExceptionmsg
- The detail message.public 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. Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps