|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.exolab.adaptx.xslt.XSLException
public class XSLException
The main exception thrown during XSLT processing
Field Summary | |
---|---|
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 Summary | |
---|---|
XSLException(java.lang.Exception exception)
Creates a new XSLException with the given nested exception. |
|
XSLException(int error,
java.lang.String message)
Creates a new XSLException |
|
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. |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
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 exceptionMethod Detail |
---|
public 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
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |