Skip to content

Most visited

Recently visited

navigation

TransformerConfigurationException

public class TransformerConfigurationException
extends TransformerException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ javax.xml.transform.TransformerException
         ↳ javax.xml.transform.TransformerConfigurationException


Indicates a serious configuration error.

Summary

Public constructors

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(Throwable e)

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

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.

Inherited methods

From class javax.xml.transform.TransformerException
From class java.lang.Throwable
From class java.lang.Object

Public constructors

TransformerConfigurationException

Added in API level 8
TransformerConfigurationException ()

Create a new TransformerConfigurationException with no detail message.

TransformerConfigurationException

Added in API level 8
TransformerConfigurationException (String msg)

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

Parameters
msg String: The error message for the exception.

TransformerConfigurationException

Added in API level 8
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.

TransformerConfigurationException

Added in API level 8
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

TransformerConfigurationException

Added in API level 8
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.

TransformerConfigurationException

Added in API level 8
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.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.