Package org.eclipse.debug.core.model
Interface IErrorReportingExpression
- All Superinterfaces:
IAdaptable
,IDebugElement
,IExpression
- All Known Subinterfaces:
IWatchExpression
An expression that can report errors which occurred during the
expression's evaluation.
- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptionString[]
Returns this expression's error messages, if any.boolean
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 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
-