org.inria.ns.reflex.xml.xpath
Class XPathSyntaxException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.inria.ns.reflex.structures.LocalizableException
              extended by org.inria.ns.reflex.xml.XMLException
                  extended by org.inria.ns.reflex.xml.xpath.XPathException
                      extended by org.inria.ns.reflex.xml.xpath.XPathSyntaxException
All Implemented Interfaces:
Serializable, Localizable
Direct Known Subclasses:
BadPatternException

public class XPathSyntaxException
extends XPathException

An error that occurs when an XPath expression is invalid.

Author:
Philippe Poulard
See Also:
Serialized Form

Constructor Summary
XPathSyntaxException(String message, String expression)
          Constructs a new XPathSyntaxException with the specified detail message.
XPathSyntaxException(String message, Throwable cause, String expression)
          Constructs a new XPathSyntaxException with the specified detail message and cause.
XPathSyntaxException(Throwable cause, String expression)
          Constructs a new XPathSyntaxException with the specified detail message and cause.
 
Method Summary
 
Methods inherited from class org.inria.ns.reflex.xml.xpath.XPathException
getLocalizedMessage
 
Methods inherited from class org.inria.ns.reflex.structures.LocalizableException
getLocation, isLocalizable, setLocation, wasTraced
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XPathSyntaxException

public XPathSyntaxException(String message,
                            String expression)
Constructs a new XPathSyntaxException with the specified detail message. The cause is not initialized.

Parameters:
message - The detail message.

XPathSyntaxException

public XPathSyntaxException(String message,
                            Throwable cause,
                            String expression)
Constructs a new XPathSyntaxException with the specified detail message and cause.

Parameters:
message - The detail message.
cause - The cause. A null value is permitted, and indicates that the cause is nonexistent or unknown.

XPathSyntaxException

public XPathSyntaxException(Throwable cause,
                            String expression)
Constructs a new XPathSyntaxException with the specified detail message and cause.

Parameters:
cause - The cause. A null value is permitted, and indicates that the cause is nonexistent or unknown.