Interface IErrorReportingExpression

All Superinterfaces:
IAdaptable, IDebugElement, IExpression
All Known Subinterfaces:
IWatchExpression

public interface IErrorReportingExpression extends IExpression
An expression that can report errors which occurred during the expression's evaluation.
Since:
3.0
  • Method Details

    • hasErrors

      boolean hasErrors()
      Returns whether this expression has errors to report. An expression can have errors if errors were generated the last time its value was computed
      Returns:
      whether this expression's result has errors
    • getErrorMessages

      String[] getErrorMessages()
      Returns this expression's error messages, if any. An expression can have errors if errors were generated the last time its value was computed.
      Returns:
      this expression's error messages