nu.xom
Class XPathTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by nu.xom.XPathException
                  extended by nu.xom.XPathTypeException
All Implemented Interfaces:
java.io.Serializable

public class XPathTypeException
extends XPathException

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

Version:
1.1b4
Author:
Elliotte Rusty Harold
See Also:
Serialized Form

Method Summary
 java.lang.Object getReturnValue()
           This method probably 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
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getReturnValue

public java.lang.Object getReturnValue()

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

Returns:
the query result


Copyright 2002-2009 Elliotte Rusty Harold
elharo@metalab.unc.edu