Package nu.xom

Class XPathTypeException

All Implemented Interfaces:
Serializable

public class XPathTypeException extends XPathException

Indicates that an XPath query returned a non-node-set.

Version:
1.2.4
Author:
Elliotte Rusty Harold
See Also:
  • Method Details

    • getReturnValue

      public Object getReturnValue()

      This method usually returns the actual object returned by the query. However, XOM makes no guarantees about the type of this object.

      Returns:
      the query result
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable