Package org.eclipse.debug.core.model
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String[]
getErrorMessages()
Returns this expression's error messages, if any.boolean
hasErrors()
Returns whether this expression has errors to report.-
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
-
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement
getLaunch, getModelIdentifier
-
Methods inherited from interface org.eclipse.debug.core.model.IExpression
dispose, getDebugTarget, getExpressionText, getValue
-
-
-
-
Method Detail
-
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
-
-