Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

TransformerConfigurationException

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

Class Overview

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.
[Expand]
Inherited Methods
From class javax.xml.transform.TransformerException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public TransformerConfigurationException ()

Added in API level 8

Create a new TransformerConfigurationException with no detail message.

public TransformerConfigurationException ( String msg)

Added in API level 8

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

Parameters
msg The error message for the exception.

public TransformerConfigurationException ( Throwable e)

Added in API level 8

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

Parameters
e The exception to be encapsulated in a TransformerConfigurationException.

public TransformerConfigurationException ( String msg, Throwable e)

Added in API level 8

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

Parameters
msg The detail message.
e The exception to be encapsulated in a TransformerConfigurationException

public TransformerConfigurationException ( String message, SourceLocator locator)

Added in API level 8

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 The error or warning message.
locator The locator object for the error or warning.

public TransformerConfigurationException ( String message, SourceLocator locator, Throwable e)

Added in API level 8

Wrap an existing exception in a TransformerConfigurationException.

Parameters
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.