Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
Exception
javax.xml.transform.TransformerException
public class TransformerException
extends Exception
Constructor Summary | |
| |
| |
| |
| |
|
Method Summary | |
Throwable |
|
Throwable |
|
String |
|
SourceLocator |
|
String |
|
Throwable |
|
void | |
void |
|
void |
|
void |
|
public TransformerException(String msg)
Constructor with a detail message.
public TransformerException(String msg, Throwable cause)
Constructor with a detail message and underlying cause.
public TransformerException(String msg, SourceLocator locator)
Constructor with a detail message and locator.
public TransformerException(String msg, SourceLocator locator, Throwable cause)
Constructor with detail message, locator and underlying cause.
public TransformerException(Throwable cause)
Constructor with an underlying cause.
public Throwable getCause()
Returns the underlying cause of this exception.
public Throwable getException()
Returns the underlying cause of this exception.
public String getLocationAsString()
Returns the location information as a string.
public String getMessageAndLocation()
Returns the exception message with location information appended.
public Throwable initCause(Throwable cause)
Initializes the root cause of this exception. This method may be called only once, and will be called by the constructor if a non-null cause is specified. Really phenomenally poor API design.
- Parameters:
cause
- the underlying cause
public void printStackTrace()
public void printStackTrace(PrintStream s)
public void printStackTrace(PrintWriter s)
public void setLocator(SourceLocator location)
Sets the locator indicating where the error occurred.