01: package abbot.script;
02:
03: import org.jdom.Element;
04:
05: /** Exception to indicate the script being parsed is invalid. */
06: public class InvalidScriptException extends RuntimeException {
07: public InvalidScriptException(String msg) {
08: super (msg);
09: }
10:
11: public InvalidScriptException(String msg, Element el) {
12: super (msg + " (when parsing " + el.toString() + ")");
13: }
14: }
|