org.apache.commons.jxpath
Class JXPathContextFactoryConfigurationError
Error
org.apache.commons.jxpath.JXPathContextFactoryConfigurationError
public class JXPathContextFactoryConfigurationError
extends Error
Thrown when a problem with configuration with the JXPathContextFactories
exists. This error will typically be thrown when the class of a
factory specified in the system properties cannot be found
or instantiated.
$Revision: 1.5 $ $Date: 2004/02/29 14:17:42 $
Exception | getException() - Return the actual exception (if any) that caused this exception to
be raised.
|
String | getMessage() - Return the message (if any) for this error .
|
JXPathContextFactoryConfigurationError
public JXPathContextFactoryConfigurationError()
Create a new JXPathContextFactoryConfigurationError
with no
detail mesage.
JXPathContextFactoryConfigurationError
public JXPathContextFactoryConfigurationError(Exception e)
Create a new JXPathContextFactoryConfigurationError
with a
given Exception
base cause of the error.
e
- The exception to be encapsulated in a
JXPathContextFactoryConfigurationError.
JXPathContextFactoryConfigurationError
public JXPathContextFactoryConfigurationError(Exception e,
String msg)
Create a new JXPathContextFactoryConfigurationError
with the
given Exception
base cause and detail message.
e
- The exception to be encapsulated in a
JXPathContextFactoryConfigurationErrormsg
- The detail message.
JXPathContextFactoryConfigurationError
public JXPathContextFactoryConfigurationError(String msg)
Create a new JXPathContextFactoryConfigurationError
with
the String
specified as an error message.
msg
- The error message for the exception.
getException
public Exception getException()
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()
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.