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