com.smallx.xml.xpath
Class XPathDynamicIterationError

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.smallx.xml.xpath.XPathDynamicIterationError
All Implemented Interfaces:
java.io.Serializable

public class XPathDynamicIterationError
extends java.lang.RuntimeException

This exception is thrown from the next() method of a java.util.Iteration instance returned as a result of evaluating some XPath expression. It is a wrapper for the XPath dynamic error contained by this exception and the real error that occurred.

See Also:
Serialized Form

Constructor Summary
XPathDynamicIterationError(XPathException ex)
          Creates a new instance of XPathDynamicIterationError without detail message.
 
Method Summary
 XPathException getError()
          Returns the dynamic error that occurred during iteration.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XPathDynamicIterationError

public XPathDynamicIterationError(XPathException ex)
Creates a new instance of XPathDynamicIterationError without detail message.

Parameters:
ex - The dynamic error exception
Method Detail

getError

public XPathException getError()
Returns the dynamic error that occurred during iteration.