sleep.error
public class ScriptWarning extends Object
See Also: RuntimeWarningWatcher
| Field Summary | |
|---|---|
| protected int | line |
| protected String | message |
| protected ScriptInstance | script |
| protected String | source |
| protected boolean | trace |
| Constructor Summary | |
|---|---|
| ScriptWarning(ScriptInstance _script, String _message, int _line) | |
| ScriptWarning(ScriptInstance _script, String _message, int _line, boolean _trace) | |
| Method Summary | |
|---|---|
| int | getLineNumber() returns the line number in the source script where the runtime error/warning occured |
| String | getMessage() returns a short synopsis of what the warnng is |
| String | getNameShort() returns just the filename of the source script |
| String | getScriptName() returns the full path for the source script |
| ScriptInstance | getSource() returns the ScriptInstance object that was the source of this runtime error |
| boolean | isDebugTrace() is this a trace message for one of the trace debug options |
| String | toString() returns a nicely formatted string representation of this runtime warning. |