|
Eclipse JDT Release 3.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEvaluationResult
The result of an evaluation. An evaluation result may contain problems and/or a result value.
IJavaValue
Method Summary | |
---|---|
String[] |
getErrorMessages()
Returns an array of problem messages. |
Message[] |
getErrors()
Deprecated. use getErrorMessages() |
IEvaluationEngine |
getEvaluationEngine()
Returns the evaluation engine used to evaluate the original snippet. |
DebugException |
getException()
Returns any exception that occurred while performing the evaluation or null if an exception did not occur. |
String |
getSnippet()
Returns the snippet that was evaluated. |
IJavaThread |
getThread()
Returns the thread in which the evaluation was performed. |
IJavaValue |
getValue()
Returns the value representing the result of the evaluation, or null if the associated evaluation failed. |
boolean |
hasErrors()
Returns whether the evaluation had any problems or if an exception occurred while performing the evaluation. |
boolean |
isTerminated()
Returns whether this evaluation was terminated before it completed. |
Method Detail |
---|
IJavaValue getValue()
null
if the associated evaluation failed. If the associated
evaluation failed, there will be problems, or an exception in this
result.
Since 3.5, this method can also return null if the evaluation was terminated before it completed.
null
boolean hasErrors()
getErrors()
,
getException()
@Deprecated Message[] getErrors()
String[] getErrorMessages()
String getSnippet()
DebugException getException()
null
if an exception did not occur. The exception will be a
debug exception or a debug exception that wrappers a JDI exception that
indicates a problem communicating with the target or with actually
performing some action in the target.
InvocationException
,
DebugException
IJavaThread getThread()
IEvaluationEngine getEvaluationEngine()
boolean isTerminated()
|
Eclipse JDT Release 3.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2013 IBM Corporation and others. All rights reserved.