summaryrefslogtreecommitdiffstats
path: root/tdehtml/java/netscape/javascript/JSException.java
diff options
context:
space:
mode:
Diffstat (limited to 'tdehtml/java/netscape/javascript/JSException.java')
-rw-r--r--tdehtml/java/netscape/javascript/JSException.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/tdehtml/java/netscape/javascript/JSException.java b/tdehtml/java/netscape/javascript/JSException.java
new file mode 100644
index 000000000..222033e7a
--- /dev/null
+++ b/tdehtml/java/netscape/javascript/JSException.java
@@ -0,0 +1,20 @@
+package netscape.javascript;
+
+public class JSException extends Exception {
+ public JSException() {}
+ public JSException(String s) {
+ super(s);
+ }
+ public JSException(String s, String fn, int ln, String src, int ti) {
+ super(s);
+ filename = new String(fn);
+ linenumber = ln;
+ source = src;
+ tokenindex = ti;
+ }
+ private String filename = null;
+ private int linenumber;
+ private String source = null;
+ private int tokenindex;
+}
+