javax.xml.transform
public class TransformerException extends Exception
Constructor Summary | |
---|---|
TransformerException(String msg)
Constructor with a detail message. | |
TransformerException(Throwable cause)
Constructor with an underlying cause. | |
TransformerException(String msg, Throwable cause)
Constructor with a detail message and underlying cause. | |
TransformerException(String msg, SourceLocator locator)
Constructor with a detail message and locator. | |
TransformerException(String msg, SourceLocator locator, Throwable cause)
Constructor with detail message, locator and underlying cause. |
Method Summary | |
---|---|
Throwable | getCause()
Returns the underlying cause of this exception. |
Throwable | getException()
Returns the underlying cause of this exception. |
String | getLocationAsString()
Returns the location information as a string. |
SourceLocator | getLocator()
Returns a locator indicating where the error occurred. |
String | getMessageAndLocation()
Returns the exception message with location information appended. |
Throwable | initCause(Throwable cause)
Initializes the root cause of this exception.
|
void | printStackTrace() |
void | printStackTrace(PrintStream s) |
void | printStackTrace(PrintWriter s) |
void | setLocator(SourceLocator location)
Sets the locator indicating where the error occurred. |
Parameters: cause the underlying cause
Throws: IllegalArgumentException if this exception is passed as the argument IllegalStateException if a cause has already been initialized