Package nu.xom
Class XPathTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
nu.xom.XPathException
nu.xom.XPathTypeException
- All Implemented Interfaces:
Serializable
Indicates that an XPath query returned a non-node-set.
- Version:
- 1.2.4
- Author:
- Elliotte Rusty Harold
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionThis method usually returns the actual object returned by the query.Methods inherited from class nu.xom.XPathException
getCause, getXPath, initCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
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
- Overrides:
getMessage
in classThrowable
-