1 package org.softnetwork.xml.dom.xpath;
2
3 /**
4 * @author stephane.manciot@ebiznext.com
5 *
6 */
7 public class XPathFormatException extends Exception {
8
9 static final long serialVersionUID = -5208546831856307295L;
10
11 private String xPath;
12
13 /**
14 * Constructs an <code>XPathFormatException</code> with the specified
15 * detail message.
16 *
17 * @param msg
18 * the detail message.
19 */
20 public XPathFormatException(String xPath, String msg) {
21 super(msg);
22 this.xPath = xPath;
23 }
24
25 /**
26 * @return Returns the xPath.
27 */
28 public String getXPath() {
29 return xPath;
30 }
31 }