XPathTypeException (XOM 1.2.4 API)
Date: 2009-12-11

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## nu.xom
Class XPathTypeException

    Object
      Throwable
          Exception
              RuntimeException
                  nu.xom.XPathException
                      nu.xom.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:
  Serialized Form

Method Summary
`String` | `getMessage()`
`Object` | `getReturnValue()` This method usually returns the actual object returned by the query.

Methods inherited from class nu.xom.XPathException
`getCause, getXPath, initCause`

Methods inherited from class Throwable
`fillInStackTrace, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

Methods inherited from class Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Method Detail

### 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2002-2009 Elliotte Rusty Harold
elharo@ibiblio.org