01: /*
02: * Copyright 2006 Ethan Nicholas. All rights reserved.
03: * Use is subject to license terms.
04: */
05: package jaxx;
06:
07: /** Thrown by the runtime engine when a script error occurs.
08: */
09: public class ScriptException extends RuntimeException {
10: /** Creates a new <code>ScriptException</code>. */
11: public ScriptException() {
12: }
13:
14: /** Creates a new <code>ScriptException</code> with the specified detail message.
15: *
16: *@param msg the exception's detail message
17: */
18: public ScriptException(String msg) {
19: super (msg);
20: }
21:
22: /** Creates a new <code>ScriptException</code> with the specified cause.
23: *
24: *@param initCause the exception's initCause
25: */
26: public ScriptException(Throwable initCause) {
27: super (initCause);
28: }
29:
30: /** Creates a new <code>ScriptException</code> with the specified detail message and cause.
31: *
32: *@param msg the exception's detail message
33: *@param initCause the exception's initCause
34: */
35: public ScriptException(String msg, Throwable initCause) {
36: super(msg, initCause);
37: }
38: }
|