Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception javax.xml.transform.TransformerException javax.xml.transform.TransformerConfigurationException
public class TransformerConfigurationException extends TransformerException
Indicates a serious configuration error.
Constructor and Description |
---|
TransformerConfigurationException()
Create a new TransformerConfigurationException with no
detail mesage. |
TransformerConfigurationException(String msg)
Create a new TransformerConfigurationException with
the String 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 new TransformerConfigurationException with the
given Exception base cause and detail message. |
TransformerConfigurationException(Throwable e)
Create a new TransformerConfigurationException with a
given Exception base cause of the error. |
Modifier and Type | Method and Description |
---|
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 |
---|
addSuppressedException, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressedExceptions, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TransformerConfigurationException()
TransformerConfigurationException
with no
detail mesage.
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.
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.