org.jaxen
Class UnsupportedAxisException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.jaxen.saxpath.SAXPathException
              extended byorg.jaxen.JaxenException
                  extended byorg.jaxen.UnsupportedAxisException
All Implemented Interfaces:
java.io.Serializable

public class UnsupportedAxisException
extends JaxenException

Indicates attempt to evaluate an XPath axis that is unsupported by the current object-model. If this is thrown the xpath cannot be evaluated correctly, unless there is a fallback evaluation path. Hence you should not just catch this and ignore it, nor should navigators throw it to indicate that an axis is exhausted: instead return an empty iterator.

Author:
bob mcwhirter
See Also:
Serialized Form

Constructor Summary
UnsupportedAxisException(java.lang.String msg)
          Construct.
 
Methods inherited from class org.jaxen.saxpath.SAXPathException
getCause, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnsupportedAxisException

public UnsupportedAxisException(java.lang.String msg)
Construct.

Parameters:
msg - The error message.


Copyright © 2001-2005 Codehaus. All Rights Reserved.