org.inria.ns.reflex.xml.xpath.pattern
Class BadPatternException

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
                          extended by org.inria.ns.reflex.xml.xpath.pattern.BadPatternException
All Implemented Interfaces:
Serializable, Localizable

public class BadPatternException
extends XPathSyntaxException

Denotes that a pattern is incorrect.

Author:
Philippe Poulard
See Also:
Serialized Form

Constructor Summary
BadPatternException(Throwable rootCause, String pattern)
          Constructs a new BadPatternException when the processor needs to throw an exception and include a message about the "root cause" exception that interfered with its normal operation.
 
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

BadPatternException

public BadPatternException(Throwable rootCause,
                           String pattern)
Constructs a new BadPatternException when the processor needs to throw an exception and include a message about the "root cause" exception that interfered with its normal operation.

Parameters:
rootCause - The Throwable exception that interfered with the processor's normal operation, making the processor exception necessary.
pattern - The pattern in cause.