|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.eclipse.xtend.backend.common.EvaluationVetoException
public final class EvaluationVetoException
This exception allows ExecutionListener implementations to veto the evaluation of the
actual evaluation of the expression. To do this, they need to throw this exception
in their preExecute method.
Vetoing the evaluation of an expression requires them to provide an object that is used
as the result of the expression. This object is passed to the exception as the sole
constructor parameter.
Constructor Summary | |
---|---|
EvaluationVetoException(java.lang.Object substitutedExpressionResult)
|
Method Summary | |
---|---|
java.lang.Object |
getSubstitutedExpressionResult()
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EvaluationVetoException(java.lang.Object substitutedExpressionResult)
Method Detail |
---|
public java.lang.Object getSubstitutedExpressionResult()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |