| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.apache.commons.jxpath.JXPathException
JXPathException | public class JXPathException extends RuntimeException (Code) | | Thrown in various situations by JXPath; may contain a nested exception.
author: Dmitri Plotnikov version: $Revision: 1.5 $ $Date: 2004/02/29 14:17:42 $ |
Constructor Summary | |
public | JXPathException() Create a new JXPathException with no
detail mesage. | public | JXPathException(String msg) Create a new JXPathException with
the String specified as an error message. | public | JXPathException(Throwable e) Create a new JXPathException with a
given Throwable base cause of the error. | public | JXPathException(String msg, Throwable e) Create a new JXPathException with the
given Exception base cause and detail message. |
Method Summary | |
public Throwable | getException() Return the actual exception (if any) that caused this exception to
be raised. | public String | getMessage() Return the message (if any) for this error . |
JXPathException | public JXPathException()(Code) | | Create a new JXPathException with no
detail mesage.
|
JXPathException | public JXPathException(String msg)(Code) | | Create a new JXPathException with
the String specified as an error message.
Parameters: msg - The error message for the exception. |
JXPathException | public JXPathException(Throwable e)(Code) | | Create a new JXPathException with a
given Throwable base cause of the error.
Parameters: e - The exception to be encapsulated in aJXPathException. |
JXPathException | public JXPathException(String msg, Throwable e)(Code) | | Create a new JXPathException with the
given Exception base cause and detail message.
Parameters: e - The exception to be encapsulated in aJXPathException Parameters: msg - The detail message. |
getException | public Throwable getException()(Code) | | Return the actual exception (if any) that caused this exception to
be raised.
The encapsulated exception, or null if there is none. |
getMessage | public String getMessage()(Code) | | Return the message (if any) for this error . If there is no
message for the exception and there is an encapsulated
exception then the message of that exception will be returned.
The error message. |
|
|
|