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.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newJXPathContextFactoryConfigurationErrorwith no detail mesage.Constructs a newJXPathContextFactoryConfigurationErrorwith a givenExceptionbase cause of the error.JXPathContextFactoryConfigurationError(Exception cause, String msg) Constructs a newJXPathContextFactoryConfigurationErrorwith the givenExceptionbase cause and detail message.Constructs a newJXPathContextFactoryConfigurationErrorwith theStringspecified as an error message. -
Method Summary
Modifier and TypeMethodDescriptionGets the actual exception (if any) that caused this exception to be raised.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JXPathContextFactoryConfigurationError
Constructs a newJXPathContextFactoryConfigurationErrorwith no detail mesage. -
JXPathContextFactoryConfigurationError
Constructs a newJXPathContextFactoryConfigurationErrorwith a givenExceptionbase cause of the error.- Parameters:
cause- The exception to be encapsulated in a JXPathContextFactoryConfigurationError.
-
JXPathContextFactoryConfigurationError
Constructs a newJXPathContextFactoryConfigurationErrorwith the givenExceptionbase cause and detail message.- Parameters:
cause- The exception to be encapsulated in a JXPathContextFactoryConfigurationErrormsg- The detail message.
-
JXPathContextFactoryConfigurationError
Constructs a newJXPathContextFactoryConfigurationErrorwith theStringspecified as an error message.- Parameters:
msg- The error message for the exception.
-
-
Method Details
-
getException
Gets the actual exception (if any) that caused this exception to be raised.- Returns:
- The encapsulated exception, or null if there is none.
-