Package org.exolab.adaptx.xslt
Class XSLException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.exolab.adaptx.xslt.XSLException
- All Implemented Interfaces:
Serializable
The main exception thrown during XSLT processing
- Author:
- Keith Visco
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic String[]
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
ConstructorsConstructorDescriptionXSLException
(int error, String message) Creates a new XSLExceptionXSLException
(Exception exception) Creates a new XSLException with the given nested exception.XSLException
(String message) Creates a new XSLExceptionXSLException
(String message, Exception exception) Creates a new XSLException with the given message and nested exception. -
Method Summary
Modifier and TypeMethodDescriptionReturns the exception, which in turn caused this Exception to be thrown, or null if nested exception exists.Returns the error message for this Exceptionvoid
void
printStackTrace
(PrintStream printer) void
printStackTrace
(PrintWriter printer) toString()
Returns the String representation of this ExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace
-
Field Details
-
INVALID_CHILD_NODE
public static final int INVALID_CHILD_NODE- See Also:
-
INVALID_RULE
public static final int INVALID_RULE- See Also:
-
INVALID_MATCH_PATTERN
public static final int INVALID_MATCH_PATTERN- See Also:
-
INVALID_SELECT_PATTERN
public static final int INVALID_SELECT_PATTERN- See Also:
-
INVALID_XSL_ELEMENT
public static final int INVALID_XSL_ELEMENT- See Also:
-
INVALID_ATTRIBUTE_VALUE_TEMPLATE
public static final int INVALID_ATTRIBUTE_VALUE_TEMPLATE- See Also:
-
MISSING_REQUIRED_ATTR
public static final int MISSING_REQUIRED_ATTR- See Also:
-
errorMessages
-
-
Constructor Details
-
XSLException
Creates a new XSLException- Parameters:
message
- the error message for this exception
-
XSLException
Creates a new XSLException- Parameters:
error
- the error code of this exceptionmessage
- the error message for this exception
-
XSLException
Creates a new XSLException with the given nested exception.- Parameters:
exception
- the nested exception
-
XSLException
Creates a new XSLException with the given message and nested exception.- Parameters:
message
- the detail message for this exceptionexception
- the nested exception
-
-
Method Details
-
getException
Returns the exception, which in turn caused this Exception to be thrown, or null if nested exception exists.- Returns:
- the exception, which in turn caused this Exception to be thrown, or null if nested exception exists.
-
getMessage
Returns the error message for this Exception- Overrides:
getMessage
in classThrowable
- Returns:
- the error message
-
printStackTrace
public void printStackTrace()- Overrides:
printStackTrace
in classThrowable
-
printStackTrace
- Overrides:
printStackTrace
in classThrowable
-
printStackTrace
- Overrides:
printStackTrace
in classThrowable
-
toString
Returns the String representation of this Exception
-