Package org.apache.commons.jxpath
Class JXPathContextFactoryConfigurationError
java.lang.Object
java.lang.Throwable
java.lang.Error
org.apache.commons.jxpath.JXPathContextFactoryConfigurationError
- All Implemented Interfaces:
Serializable
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.- Version:
- $Revision: 652845 $ $Date: 2008-05-02 12:46:46 -0500 (Fri, 02 May 2008) $
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate a newJXPathContextFactoryConfigurationError
with no detail mesage.Create a newJXPathContextFactoryConfigurationError
with a givenException
base cause of the error.Create a newJXPathContextFactoryConfigurationError
with the givenException
base cause and detail message.Create a newJXPathContextFactoryConfigurationError
with theString
specified as an error message. -
Method Summary
Modifier and TypeMethodDescriptionReturn the actual exception (if any) that caused this exception to be raised.Return the message (if any) for this error .Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
exception
-
-
Constructor Details
-
JXPathContextFactoryConfigurationError
public JXPathContextFactoryConfigurationError()Create a newJXPathContextFactoryConfigurationError
with no detail mesage. -
JXPathContextFactoryConfigurationError
Create a newJXPathContextFactoryConfigurationError
with theString
specified as an error message.- Parameters:
msg
- The error message for the exception.
-
JXPathContextFactoryConfigurationError
Create a newJXPathContextFactoryConfigurationError
with a givenException
base cause of the error.- Parameters:
e
- The exception to be encapsulated in a JXPathContextFactoryConfigurationError.
-
JXPathContextFactoryConfigurationError
Create a newJXPathContextFactoryConfigurationError
with the givenException
base cause and detail message.- Parameters:
e
- The exception to be encapsulated in a JXPathContextFactoryConfigurationErrormsg
- The detail message.
-
-
Method Details
-
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.- Overrides:
getMessage
in classThrowable
- Returns:
- The error message.
-
getException
Return the actual exception (if any) that caused this exception to be raised.- Returns:
- The encapsulated exception, or null if there is none.
-