Top Description Fields Constructors Methods
bsh

public Class UtilTargetError

extends UtilEvalError
Class Inheritance

UtilTargetError is an error corresponding to a TargetError but thrown by a utility or other class that does not have the caller context (Node) available to it. See UtilEvalError for an explanation of the difference between UtilEvalError and EvalError.

See Also
UtilEvalError

Field Summary

Modifier and TypeField and Description
public Throwable
t

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public EvalError
toEvalError(String
may be null for no additional message.
msg
,
SimpleNode node, CallStack callstack)

Overrides bsh.UtilEvalError.toEvalError.

Override toEvalError to throw TargetError type.
Inherited from bsh.UtilEvalError:
toEvalError

Field Detail

tback to summary
public Throwable t

Constructor Detail

UtilTargetErrorback to summary
public UtilTargetError(String message, Throwable t)
UtilTargetErrorback to summary
public UtilTargetError(Throwable t)

Method Detail

toEvalErrorback to summary
public EvalError toEvalError(String msg, SimpleNode node, CallStack callstack)

Overrides bsh.UtilEvalError.toEvalError.

Override toEvalError to throw TargetError type.

Parameters
msg:String

Doc from bsh.UtilEvalError.toEvalError.

may be null for no additional message.