bsh

Class UtilTargetError


public class UtilTargetError
extends UtilEvalError

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

Throwable
t

Constructor Summary

UtilTargetError(String message, Throwable t)
UtilTargetError(Throwable t)

Method Summary

EvalError
toEvalError(String msg, bsh.SimpleNode node, CallStack callstack)
Override toEvalError to throw TargetError type.

Methods inherited from class bsh.UtilEvalError

toEvalError, toEvalError

Field Details

t

public Throwable t

Constructor Details

UtilTargetError

public UtilTargetError(String message,
                       Throwable t)

UtilTargetError

public UtilTargetError(Throwable t)

Method Details

toEvalError

public EvalError toEvalError(String msg,
                             bsh.SimpleNode node,
                             CallStack callstack)
Override toEvalError to throw TargetError type.
Overrides:
toEvalError in interface UtilEvalError

B) 2000-2005 pat@pat.net :-)