public class JXPathContextFactoryConfigurationError
extends java.lang.Error
JXPathContextFactories
exists. This error will typically be thrown when the class of a
factory specified in the system properties cannot be found
or instantiated.Modifier and Type | Field and Description |
---|---|
private java.lang.Exception |
exception |
Constructor and Description |
---|
JXPathContextFactoryConfigurationError()
Create a new
JXPathContextFactoryConfigurationError with no
detail mesage. |
JXPathContextFactoryConfigurationError(java.lang.Exception e)
Create a new
JXPathContextFactoryConfigurationError with a
given Exception base cause of the error. |
JXPathContextFactoryConfigurationError(java.lang.Exception e,
java.lang.String msg)
Create a new
JXPathContextFactoryConfigurationError with the
given Exception base cause and detail message. |
JXPathContextFactoryConfigurationError(java.lang.String msg)
Create a new
JXPathContextFactoryConfigurationError with
the String specified as an error message. |
Modifier and Type | Method and Description |
---|---|
java.lang.Exception |
getException()
Return the actual exception (if any) that caused this exception to
be raised.
|
java.lang.String |
getMessage()
Return the message (if any) for this error .
|
public JXPathContextFactoryConfigurationError()
JXPathContextFactoryConfigurationError
with no
detail mesage.public JXPathContextFactoryConfigurationError(java.lang.String msg)
JXPathContextFactoryConfigurationError
with
the String
specified as an error message.msg
- The error message for the exception.public JXPathContextFactoryConfigurationError(java.lang.Exception e)
JXPathContextFactoryConfigurationError
with a
given Exception
base cause of the error.e
- The exception to be encapsulated in a
JXPathContextFactoryConfigurationError.public JXPathContextFactoryConfigurationError(java.lang.Exception e, java.lang.String msg)
JXPathContextFactoryConfigurationError
with the
given Exception
base cause and detail message.e
- The exception to be encapsulated in a
JXPathContextFactoryConfigurationErrormsg
- The detail message.public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.Exception getException()