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) $
- Author:
- Dmitri Plotnikov
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate a newJXPathContextFactoryConfigurationErrorwith no detail mesage.Create a newJXPathContextFactoryConfigurationErrorwith a givenExceptionbase cause of the error.Create a newJXPathContextFactoryConfigurationErrorwith the givenExceptionbase cause and detail message.Create a newJXPathContextFactoryConfigurationErrorwith theStringspecified 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 Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
exception
-
-
Constructor Details
-
JXPathContextFactoryConfigurationError
public JXPathContextFactoryConfigurationError()Create a newJXPathContextFactoryConfigurationErrorwith no detail mesage. -
JXPathContextFactoryConfigurationError
Create a newJXPathContextFactoryConfigurationErrorwith theStringspecified as an error message.- Parameters:
msg- The error message for the exception.
-
JXPathContextFactoryConfigurationError
Create a newJXPathContextFactoryConfigurationErrorwith a givenExceptionbase cause of the error.- Parameters:
e- The exception to be encapsulated in a JXPathContextFactoryConfigurationError.
-
JXPathContextFactoryConfigurationError
-
-
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:
getMessagein 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.
-