1. // $Id: XPathExpressionException.java,v 1.3.12.1 2004/06/15 00:05:01 rameshm Exp $
  2. /*
  3. * @(#)XPathExpressionException.java 1.6 04/07/26
  4. *
  5. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  6. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  7. */
  8. package javax.xml.xpath;
  9. /**
  10. * <code>XPathExpressionException</code> represents an error in an XPath expression.</p>
  11. *
  12. * @author <a href="mailto:Norman.Walsh@Sun.com">Norman Walsh</a>
  13. * @author <a href="mailto:Jeff.Suttor@Sun.com">Jeff Suttor</a>
  14. * @version $Revision: 1.3.12.1 $, $Date: 2004/06/15 00:05:01 $
  15. * @since 1.5
  16. */
  17. public class XPathExpressionException extends XPathException {
  18. /**
  19. * <p>Stream Unique Identifier.</p>
  20. */
  21. private static final long serialVersionUID = -1837080260374986980L;
  22. /**
  23. * <p>Constructs a new <code>XPathExpressionException</code> with the specified detail <code>message</code>.</p>
  24. *
  25. * <p>The <code>cause</code> is not initialized.</p>
  26. *
  27. * <p>If <code>message</code> is <code>null</code>, then a <code>NullPointerException</code> is thrown.</p>
  28. *
  29. * @param message The detail message.
  30. */
  31. public XPathExpressionException(String message) {
  32. super(message);
  33. }
  34. /**
  35. * <p>Constructs a new <code>XPathExpressionException</code> with the specified <code>cause</code>.</p>
  36. *
  37. * <p>If <code>cause</code> is <code>null</code>, then a <code>NullPointerException</code> is thrown.</p>
  38. *
  39. * @param cause The cause.
  40. *
  41. * @throws NullPointerException if <code>cause</code> is <code>null</code>.
  42. */
  43. public XPathExpressionException(Throwable cause) {
  44. super(cause);
  45. }
  46. }