summaryrefslogtreecommitdiffstats
path: root/khtml/java/netscape/javascript/JSException.java
blob: 222033e7a7e3e0a782d933e41f71d50db43dd97e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;
}