public class JXPathContextFactoryConfigurationError extends 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.Constructor and Description |
---|
JXPathContextFactoryConfigurationError()
Create a new
JXPathContextFactoryConfigurationError with no
detail mesage. |
JXPathContextFactoryConfigurationError(Exception e)
Create a new
JXPathContextFactoryConfigurationError with a
given Exception base cause of the error. |
JXPathContextFactoryConfigurationError(Exception e,
String msg)
Create a new
JXPathContextFactoryConfigurationError with the
given Exception base cause and detail message. |
JXPathContextFactoryConfigurationError(String msg)
Create a new
JXPathContextFactoryConfigurationError with
the String specified as an error message. |
Modifier and Type | Method and Description |
---|---|
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 .
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public JXPathContextFactoryConfigurationError()
JXPathContextFactoryConfigurationError
with no
detail mesage.public JXPathContextFactoryConfigurationError(String msg)
JXPathContextFactoryConfigurationError
with
the String
specified as an error message.msg
- The error message for the exception.public JXPathContextFactoryConfigurationError(Exception e)
JXPathContextFactoryConfigurationError
with a
given Exception
base cause of the error.e
- The exception to be encapsulated in a
JXPathContextFactoryConfigurationError.public JXPathContextFactoryConfigurationError(Exception e, 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 String getMessage()
getMessage
in class Throwable
public Exception getException()
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.