org.exolab.adaptx.xslt
Class XSLException
Exception
org.exolab.adaptx.xslt.XSLException
public class XSLException
extends Exception
The main exception thrown during XSLT processing
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
INVALID_CHILD_NODE
public static final int INVALID_CHILD_NODE
INVALID_MATCH_PATTERN
public static final int INVALID_MATCH_PATTERN
INVALID_RULE
public static final int INVALID_RULE
INVALID_SELECT_PATTERN
public static final int INVALID_SELECT_PATTERN
INVALID_XSL_ELEMENT
public static final int INVALID_XSL_ELEMENT
MISSING_REQUIRED_ATTR
public static final int MISSING_REQUIRED_ATTR
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
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