Constructors Summary |
---|
public ScriptException(String s)Creates a ScriptException with a String to be used in its message.
Filename, and line and column numbers are unspecified.
super(s);
fileName = null;
lineNumber = -1;
columnNumber = -1;
|
public ScriptException(Exception e)Creates a ScriptException wrapping an Exception thrown by an underlying
interpreter. Line and column numbers and filename are unspecified.
super(e);
fileName = null;
lineNumber = -1;
columnNumber = -1;
|
public ScriptException(String message, String fileName, int lineNumber)Creates a ScriptException with message, filename and linenumber to
be used in error messages.
super(message);
this.fileName = fileName;
this.lineNumber = lineNumber;
this.columnNumber = -1;
|
public ScriptException(String message, String fileName, int lineNumber, int columnNumber)ScriptException constructor specifying message, filename, line number
and column number.
super(message);
this.fileName = fileName;
this.lineNumber = lineNumber;
this.columnNumber = columnNumber;
|