|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use EvalError | |
bsh |
Uses of EvalError in bsh |
Subclasses of EvalError in bsh | |
class |
ParseException
This exception is thrown when parse errors are encountered. |
class |
TargetError
TargetError is an EvalError that wraps an exception thrown by the script (or by code called from the script). |
Methods in bsh that return EvalError | |
EvalError |
UtilTargetError.toEvalError(java.lang.String msg,
bsh.SimpleNode node,
CallStack callstack)
Override toEvalError to throw TargetError type. |
EvalError |
UtilEvalError.toEvalError(java.lang.String msg,
bsh.SimpleNode node,
CallStack callstack)
Re-throw as an eval error, prefixing msg to the message and specifying the node. |
EvalError |
UtilEvalError.toEvalError(bsh.SimpleNode node,
CallStack callstack)
|
Methods in bsh that throw EvalError | |
java.lang.Object |
This.invokeMethod(java.lang.String name,
java.lang.Object[] args)
Invoke specified method as from outside java code, using the declaring interpreter and current namespace. |
java.lang.Object |
This.invokeMethod(java.lang.String methodName,
java.lang.Object[] args,
Interpreter interpreter,
CallStack callstack,
bsh.SimpleNode callerInfo)
Invoke a method in this namespace with the specified args, interpreter reference, callstack, and caller info. |
java.lang.Object |
NameSpace.invokeMethod(java.lang.String methodName,
java.lang.Object[] args,
Interpreter interpreter)
Invoke a method in this namespace with the specified args and interpreter reference. |
java.lang.Object |
NameSpace.invokeMethod(java.lang.String methodName,
java.lang.Object[] args,
Interpreter interpreter,
CallStack callstack,
bsh.SimpleNode callerInfo)
This method simply delegates to This.invokeMethod(); |
java.lang.Object |
Interpreter.source(java.lang.String filename,
NameSpace nameSpace)
Read text from fileName and eval it. |
java.lang.Object |
Interpreter.source(java.lang.String filename)
Read text from fileName and eval it. |
java.lang.Object |
Interpreter.eval(java.io.Reader in,
NameSpace nameSpace,
java.lang.String sourceFileInfo)
Spawn a non-interactive local interpreter to evaluate text in the specified namespace. |
java.lang.Object |
Interpreter.eval(java.io.Reader in)
Evaluate the inputstream in this interpreter's global namespace. |
java.lang.Object |
Interpreter.eval(java.lang.String statements)
Evaluate the string in this interpreter's global namespace. |
java.lang.Object |
Interpreter.eval(java.lang.String statements,
NameSpace nameSpace)
Evaluate the string in the specified namespace. |
java.lang.Object |
Interpreter.get(java.lang.String name)
Get the value of the name. |
void |
Interpreter.set(java.lang.String name,
java.lang.Object value)
Assign the value to the name. |
void |
Interpreter.set(java.lang.String name,
long value)
|
void |
Interpreter.set(java.lang.String name,
int value)
|
void |
Interpreter.set(java.lang.String name,
double value)
|
void |
Interpreter.set(java.lang.String name,
float value)
|
void |
Interpreter.set(java.lang.String name,
boolean value)
|
void |
Interpreter.unset(java.lang.String name)
Unassign the variable name. |
java.lang.Object |
Interpreter.getInterface(java.lang.Class interf)
Get a reference to the interpreter (global namespace), cast to the specified interface type. |
void |
EvalError.reThrow(java.lang.String msg)
Re-throw the error, prepending the specified message. |
java.lang.Object |
BshMethod.invoke(java.lang.Object[] argValues,
Interpreter interpreter)
Invoke the declared method with the specified arguments and interpreter reference. |
java.lang.Object |
BshMethod.invoke(java.lang.Object[] argValues,
Interpreter interpreter,
CallStack callstack)
Invoke the declared method with the specified arguments, interpreter reference, and callstack. |
java.lang.Object |
BshMethod.invoke(java.lang.Object[] argValues,
Interpreter interpreter,
CallStack callstack,
bsh.SimpleNode callerInfo)
Invoke the bsh method with the specified args, interpreter ref, and callstack. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |