TransformerException

public class TransformerException extends Exception
Known Direct Subclasses

This class specifies an exceptional condition that occurred during the transformation process.

Public Constructor Summary

TransformerException(String message)
Create a new TransformerException.
TransformerException(Throwable e)
Create a new TransformerException wrapping an existing exception.
TransformerException(String message, Throwable e)
Wrap an existing exception in a TransformerException.
TransformerException(String message, SourceLocator locator)
Create a new TransformerException from a message and a Locator.
TransformerException(String message, SourceLocator locator, Throwable e)
Wrap an existing exception in a TransformerException.

Public Method Summary

Throwable
getCause()
Returns the cause of this throwable or null if the cause is nonexistent or unknown.
Throwable
getException()
This method retrieves an exception that this exception wraps.
String
getLocationAsString()
Get the location information as a string.
SourceLocator
getLocator()
Method getLocator retrieves an instance of a SourceLocator object that specifies where an error occurred.
String
getMessageAndLocation()
Get the error message with location information appended.
synchronized Throwable
initCause(Throwable cause)
Initializes the cause of this throwable to the specified value.
void
printStackTrace()
Print the the trace of methods from where the error originated.
void
printStackTrace(PrintWriter s)
Print the the trace of methods from where the error originated.
void
printStackTrace(PrintStream s)
Print the the trace of methods from where the error originated.
void
setLocator(SourceLocator location)
Method setLocator sets an instance of a SourceLocator object that specifies where an error occurred.

Inherited Method Summary