org.exolab.adaptx.xslt
Class XSLException
Exception
org.exolab.adaptx.xslt.XSLException
public class XSLException
extends Exception
The main exception thrown during XSLT processing
- Keith Visco
XSLException(Exception exception) - Creates a new XSLException with the given nested
exception.
|
XSLException(String message) - Creates a new XSLException
|
XSLException(String message, Exception exception) - Creates a new XSLException with the given message
and nested exception.
|
XSLException(int error, String message) - Creates a new XSLException
|
INVALID_ATTRIBUTE_VALUE_TEMPLATE
public static final int INVALID_ATTRIBUTE_VALUE_TEMPLATE
- 5
INVALID_CHILD_NODE
public static final int INVALID_CHILD_NODE
- 0
INVALID_MATCH_PATTERN
public static final int INVALID_MATCH_PATTERN
- 2
INVALID_RULE
public static final int INVALID_RULE
- 1
INVALID_SELECT_PATTERN
public static final int INVALID_SELECT_PATTERN
- 3
INVALID_XSL_ELEMENT
public static final int INVALID_XSL_ELEMENT
- 4
MISSING_REQUIRED_ATTR
public static final int MISSING_REQUIRED_ATTR
- 6
errorMessages
public static String[] errorMessages
XSLException
public XSLException(Exception exception)
Creates a new XSLException with the given nested
exception.
exception
- the nested exception
XSLException
public XSLException(String message)
Creates a new XSLException
message
- the error message for this exception
XSLException
public XSLException(String message,
Exception exception)
Creates a new XSLException with the given message
and nested exception.
message
- the detail message for this exceptionexception
- the nested exception
XSLException
public XSLException(int error,
String message)
Creates a new XSLException
error
- the error code of this exceptionmessage
- the error message for this exception
getException
public Exception getException()
Returns the exception, which in turn caused this Exception to
be thrown, or null if nested exception exists.
- the exception, which in turn caused this Exception to
be thrown, or null if nested exception exists.
getMessage
public String getMessage()
Returns the error message for this Exception
- the error message
printStackTrace
public void printStackTrace()
printStackTrace
public void printStackTrace(PrintStream printer)
printStackTrace
public void printStackTrace(PrintWriter printer)
toString
public String toString()
Returns the String representation of this Exception
- the String representation of this Exception