public class XSLException
extends java.lang.Exception
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String[] |
errorMessages |
|
static int |
INVALID_ATTRIBUTE_VALUE_TEMPLATE |
|
static int |
INVALID_CHILD_NODE |
|
static int |
INVALID_MATCH_PATTERN |
|
static int |
INVALID_RULE |
|
static int |
INVALID_SELECT_PATTERN |
|
static int |
INVALID_XSL_ELEMENT |
|
static int |
MISSING_REQUIRED_ATTR |
Constructor | Description |
---|---|
XSLException(int error,
java.lang.String message) |
Creates a new XSLException
|
XSLException(java.lang.Exception exception) |
Creates a new XSLException with the given nested
exception.
|
XSLException(java.lang.String message) |
Creates a new XSLException
|
XSLException(java.lang.String message,
java.lang.Exception exception) |
Creates a new XSLException with the given message
and nested exception.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Exception |
getException() |
Returns the exception, which in turn caused this Exception to
be thrown, or null if nested exception exists.
|
java.lang.String |
getMessage() |
Returns the error message for this Exception
|
void |
printStackTrace() |
|
void |
printStackTrace(java.io.PrintStream printer) |
|
void |
printStackTrace(java.io.PrintWriter printer) |
|
java.lang.String |
toString() |
Returns the String representation of this Exception
|
public static final int INVALID_CHILD_NODE
public static final int INVALID_RULE
public static final int INVALID_MATCH_PATTERN
public static final int INVALID_SELECT_PATTERN
public static final int INVALID_XSL_ELEMENT
public static final int INVALID_ATTRIBUTE_VALUE_TEMPLATE
public static final int MISSING_REQUIRED_ATTR
public static java.lang.String[] errorMessages
public XSLException(java.lang.String message)
message
- the error message for this exceptionpublic XSLException(int error, java.lang.String message)
error
- the error code of this exceptionmessage
- the error message for this exceptionpublic XSLException(java.lang.Exception exception)
exception
- the nested exceptionpublic XSLException(java.lang.String message, java.lang.Exception exception)
message
- the detail message for this exceptionexception
- the nested exceptionpublic java.lang.Exception getException()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintWriter printer)
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream printer)
printStackTrace
in class java.lang.Throwable
public java.lang.String toString()
toString
in class java.lang.Throwable