|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
jd.xml.xslt.parser.XsltParseException
A XsltParseException indicates errors when a stylesheet is parsed.
Field Summary |
Fields inherited from class java.lang.Exception |
|
Constructor Summary | |
XsltParseException(String parserMsg,
String baseUri,
Exception e)
Create a new XsltParseException. |
|
XsltParseException(String parserMsg,
XPathNode node,
Exception e)
Create a new XsltParseException. |
Method Summary | |
String |
getBaseUri()
Return the base uri of the document where the error occured. |
String |
getContext()
Returns the error context. |
Exception |
getException()
Return the original exception. |
String |
getMessage()
Returns the error message string of this Exception. |
XPathNode |
getNode()
Return the node which caused the error. |
String |
getNodeInfo(XPathNode node)
|
String |
getParserMessage()
Return the orginal error message of the parser (without the context information). |
void |
printStackTrace()
Print a stack trace of this excpetion and any Chained exception. |
void |
printStackTrace(PrintStream out)
Print a stack trace of this excpetion and any Chained exception. |
void |
printStackTrace(PrintWriter out)
Print a stack trace of this excpetion and any Chained exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public XsltParseException(String parserMsg, String baseUri, Exception e)
baseUri
- the base uri of the parsed documente
- the original exception. Can be null.public XsltParseException(String parserMsg, XPathNode node, Exception e)
node
- the node where the error occurrede
- the original exception. Can be null.Method Detail |
public String getMessage()
public String getContext()
public Exception getException()
public String getParserMessage()
public String getBaseUri()
public XPathNode getNode()
public String getNodeInfo(XPathNode node)
public void printStackTrace()
public void printStackTrace(PrintWriter out)
public void printStackTrace(PrintStream out)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |