Module jEdit

Class UtilTargetError

All Implemented Interfaces:
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:
  • Field Details

  • Constructor Details

    • UtilTargetError

      public UtilTargetError(String message, Throwable t)
    • UtilTargetError

      public UtilTargetError(Throwable t)
  • Method Details

    • toEvalError

      public EvalError toEvalError(String msg, org.gjt.sp.jedit.bsh.SimpleNode node, CallStack callstack)
      Override toEvalError to throw TargetError type.
      Overrides:
      toEvalError in class UtilEvalError
      Parameters:
      msg - may be null for no additional message.