/* * $Id: Exception.java,v 1.3 2007-01-23 14:23:18 bacon Exp $ */ package ase.awk; public class Exception extends java.lang.Exception { private int code; private int line; public Exception () { super (); this.code = 0; this.line = 0; } public Exception (String msg) { super (msg); this.code = 0; this.line = 0; } public Exception (String msg, int code) { super (msg); this.code = code; this.line = 0; } public Exception (String msg, int code, int line) { super (msg); this.code = code; this.line = line; } public int getCode () { return this.code; } public int getLine () { return this.line; } }