APIdia Launch Partner
Top Description Fields Constructors Methods
javax.xml.transform

public Class TransformerConfigurationException

extends TransformerException
Class Inheritance

Indicates a serious configuration error.
Since
1.4

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from javax.xml.transform.TransformerException:
containedExceptionlocator

Constructor Summary

AccessConstructor and Description
public
TransformerConfigurationException()

Create a new TransformerConfigurationException with no detail message.

public
TransformerConfigurationException(String
The error message for the exception.
msg
)

Create a new TransformerConfigurationException with the String specified as an error message.

public
TransformerConfigurationException(Throwable
The exception to be encapsulated in a TransformerConfigurationException.
e
)

Create a new TransformerConfigurationException with a given Exception base cause of the error.

public
TransformerConfigurationException(String
The detail message.
msg
,
Throwable
The exception to be encapsulated in a TransformerConfigurationException
e
)

Create a new TransformerConfigurationException with the given Exception base cause and detail message.

public
TransformerConfigurationException(String
The error or warning message.
message
,
SourceLocator
The locator object for the error or warning.
locator
)

Create a new TransformerConfigurationException from a message and a Locator.

public
TransformerConfigurationException(String
The error or warning message, or null to use the message from the embedded exception.
message
,
SourceLocator
The locator object for the error or warning.
locator
,
Throwable
Any exception.
e
)

Wrap an existing exception in a TransformerConfigurationException.

Method Summary

Inherited from javax.xml.transform.TransformerException:
getCausegetExceptiongetLocationAsStringgetLocatorgetMessageAndLocationinitCauseprintStackTraceprintStackTraceprintStackTracesetLocator

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.xml.transform.TransformerException.serialVersionUID.

Constructor Detail

TransformerConfigurationExceptionback to summary
public TransformerConfigurationException()

Create a new TransformerConfigurationException with no detail message.

TransformerConfigurationExceptionback to summary
public TransformerConfigurationException(String msg)

Create a new TransformerConfigurationException with the String specified as an error message.

Parameters
msg:String

The error message for the exception.

TransformerConfigurationExceptionback to summary
public TransformerConfigurationException(Throwable e)

Create a new TransformerConfigurationException with a given Exception base cause of the error.

Parameters
e:Throwable

The exception to be encapsulated in a TransformerConfigurationException.

TransformerConfigurationExceptionback to summary
public TransformerConfigurationException(String msg, Throwable e)

Create a new TransformerConfigurationException with the given Exception base cause and detail message.

Parameters
msg:String

The detail message.

e:Throwable

The exception to be encapsulated in a TransformerConfigurationException

TransformerConfigurationExceptionback to summary
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:String

The error or warning message.

locator:SourceLocator

The locator object for the error or warning.

TransformerConfigurationExceptionback to summary
public TransformerConfigurationException(String message, SourceLocator locator, Throwable e)

Wrap an existing exception in a TransformerConfigurationException.

Parameters
message:String

The error or warning message, or null to use the message from the embedded exception.

locator:SourceLocator

The locator object for the error or warning.

e:Throwable

Any exception.