Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

javax.xml.transform
Class TransformerConfigurationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.xml.transform.TransformerException
              extended by javax.xml.transform.TransformerConfigurationException
All Implemented Interfaces:
Serializable

public class TransformerConfigurationException
extends TransformerException

Indicates a serious configuration error.

See Also:
Serialized Form

Constructor Summary
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.
 
Method Summary
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

TransformerConfigurationException

public TransformerConfigurationException()
Create a new TransformerConfigurationException with no detail mesage.


TransformerConfigurationException

public TransformerConfigurationException(String msg)
Create a new TransformerConfigurationException with the String specified as an error message.

Parameters:
msg - The error message for the exception.

TransformerConfigurationException

public TransformerConfigurationException(Throwable e)
Create a new TransformerConfigurationException with a given Exception base cause of the error.

Parameters:
e - The exception to be encapsulated in a TransformerConfigurationException.

TransformerConfigurationException

public TransformerConfigurationException(String msg,
                                         Throwable e)
Create a new TransformerConfigurationException with the given Exception base cause and detail message.

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

TransformerConfigurationException

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

TransformerConfigurationException

public TransformerConfigurationException(String message,
                                         SourceLocator locator,
                                         Throwable e)
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.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

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, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.