Class InvalidXPathException

All Implemented Interfaces:
Serializable

public class InvalidXPathException extends IllegalArgumentException
Exception thrown when the XPath in an expression is invalid or unsupported. Apache SIS currently supports only a small subset of XPath syntax, mostly paths of the form "a/b/c" (and not everywhere) and the "Q{namespace}" syntax.

Relationship with standard libraries

The standard Java libraries provides a XPath­Exception. This Invalid­XPath­Exception differs in that it is an unchecked exception and is thrown in the context of operations with OGC filters and expressions. In some implementations, Invalid­XPath­Exception may have a XPath­Exception as its cause.
Since:
1.5
See Also:
  • Constructor Details

    • InvalidXPathException

      public InvalidXPathException()
      Creates an exception with no message.
    • InvalidXPathException

      public InvalidXPathException(String message)
      Creates an exception with the specified message.
      Parameters:
      message - the detail message, saved for later retrieval by the Throwable​.get­Message() method.
    • InvalidXPathException

      public InvalidXPathException(Throwable cause)
      Creates an exception with the specified cause.
      Parameters:
      cause - the cause, saved for later retrieval by the Throwable​.get­Cause() method.
    • InvalidXPathException

      public InvalidXPathException(String message, Throwable cause)
      Creates an exception with the specified message and cause.
      Parameters:
      message - the detail message, saved for later retrieval by the Throwable​.get­Message() method.
      cause - the cause, saved for later retrieval by the Throwable​.get­Cause() method.