Package org.gjt.sp.jedit.bsh
Class UtilTargetError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.gjt.sp.jedit.bsh.UtilEvalError
-
- org.gjt.sp.jedit.bsh.UtilTargetError
-
- All Implemented Interfaces:
java.io.Serializable
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
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Throwable
t
-
Constructor Summary
Constructors Constructor Description UtilTargetError(java.lang.String message, java.lang.Throwable t)
UtilTargetError(java.lang.Throwable t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EvalError
toEvalError(java.lang.String msg, org.gjt.sp.jedit.bsh.SimpleNode node, CallStack callstack)
Override toEvalError to throw TargetError type.-
Methods inherited from class org.gjt.sp.jedit.bsh.UtilEvalError
toEvalError
-
-
-
-
Method Detail
-
toEvalError
public EvalError toEvalError(java.lang.String msg, org.gjt.sp.jedit.bsh.SimpleNode node, CallStack callstack)
Override toEvalError to throw TargetError type.- Overrides:
toEvalError
in classUtilEvalError
- Parameters:
msg
- may be null for no additional message.
-
-