Eclipse Platform
Release 3.0

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
 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.debug.core.model.IExpression
dispose, getDebugTarget, getExpressionText, getValue
 
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement
getLaunch, getModelIdentifier
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

hasErrors

public 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

public 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

Eclipse Platform
Release 3.0

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.