XPathFactoryConfigurationException

  • XPathFactoryConfigurationException signals configuration problems within an XPathFactory environment.

  • It inherits functionalities from XPathException and provides two constructors for initialization.

  • One constructor takes a detailed message string, and the other accepts a Throwable cause for the exception.

  • Both constructors will throw a NullPointerException if their respective arguments are null.

public class XPathFactoryConfigurationException extends XPathException

XPathFactoryConfigurationException represents a configuration error in a XPathFactory environment.

Public Constructor Summary

XPathFactoryConfigurationException(String message)

Constructs a new XPathFactoryConfigurationException with the specified detail message.

XPathFactoryConfigurationException(Throwable cause)

Constructs a new XPathFactoryConfigurationException with the specified cause.

Inherited Method Summary

Public Constructors

public XPathFactoryConfigurationException (String message)

Constructs a new XPathFactoryConfigurationException with the specified detail message.

The cause is not initialized.

If message is null, then a NullPointerException is thrown.

Parameters
message The detail message.

public XPathFactoryConfigurationException (Throwable cause)

Constructs a new XPathFactoryConfigurationException with the specified cause.

If cause is null, then a NullPointerException is thrown.

Parameters
cause The cause.
Throws
NullPointerException if cause is null.