API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.transform. TransformerException View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      Throwable
          Exception
              TransformerException
Implements
Subclasses
Description
public exception TransformerException
This class specifies an exceptional condition that occured during the transformation process.
See also:   
Constructors
public TransformerException (String message)
  Create a new TransformerException.
public TransformerException (String message, SourceLocator locator)
  Create a new TransformerException from a message and a Locator.
public TransformerException (String message, SourceLocator locator, Throwable e)
  Wrap an existing exception in a TransformerException.
public TransformerException (String message, Throwable e)
  Wrap an existing exception in a TransformerException.
public TransformerException (Throwable e)
  Create a new TransformerException wrapping an existing exception.
Methods
Hide/Show inherited methods
publicsynchronizednative Throwable fillInStackTrace () [Inherited From Throwable]
  Fills in the execution stack trace.
public Throwable getCause () [Overrides Throwable]
  Returns the cause of this throwable or null if the cause is nonexistent or unknown.
public Throwable getException ()
  This method retrieves an exception that this exception wraps.
public String getLocalizedMessage () [Inherited From Throwable]
  Creates a localized description of this throwable.
public String getLocationAsString ()
  Get the location information as a string.
public SourceLocator getLocator ()
  Method getLocator retrieves an instance of a SourceLocator object that specifies where an error occured.
public String getMessage () [Inherited From Throwable]
  Returns the detail message string of this throwable.
public String getMessageAndLocation ()
  Get the error message with location information appended.
public StackTraceElement getStackTrace () [Inherited From Throwable]
  Provides programmatic access to the stack trace information printed by Throwable.printStackTrace().
publicsynchronized Throwable initCause (Throwable cause) [Overrides Throwable]
  Initializes the cause of this throwable to the specified value.
public void printStackTrace () [Overrides Throwable]
  Print the the trace of methods from where the error originated.
public void printStackTrace (PrintStream s) [Overrides Throwable]
  Print the the trace of methods from where the error originated.
public void printStackTrace (PrintWriter s) [Overrides Throwable]
  Print the the trace of methods from where the error originated.
public void setLocator (SourceLocator location)
  Method setLocator sets an instance of a SourceLocator object that specifies where an error occured.
public void setStackTrace (StackTraceElement stackTrace) [Inherited From Throwable]
  Sets the stack trace elements that will be returned by Throwable.getStackTrace() and printed by Throwable.printStackTrace() and related methods.
public String toString () [Inherited From Throwable]
  Returns a short description of this throwable.
Fields
Hide/Show inherited fields
pack-private Throwable containedException
  Field containedException specifies a wrapped exception.
pack-private SourceLocator locator
Field locator specifies where the error occured
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar