|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsleep.error.ScriptWarning
A package for all information related to a runtime script warning. A runtime script warning occurs whenever something bad happens while executing a script. Something bad could include an exception being thrown by a bridge, a script trying to execute a non-existant function, a script trying to make a comparison with a non-existant predicate etc.
RuntimeWarningWatcher
Field Summary | |
protected int |
line
|
protected String |
message
|
protected ScriptInstance |
script
|
Constructor Summary | |
ScriptWarning(ScriptInstance _script,
String _message,
int _line)
|
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected ScriptInstance script
protected String message
protected int line
Constructor Detail |
public ScriptWarning(ScriptInstance _script, String _message, int _line)
Method Detail |
public ScriptInstance getSource()
public String getMessage()
public int getLineNumber()
public String getScriptName()
public String getNameShort()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |