Toggle navigation
Home
java.lang.Runnable to org.awaitility.core.ThrowingRunnable
No. of Instances - 6
No. of Commits - 1
No. of Projects - {'awaitility'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Jdk -> Internal
Mapping:
Update Anonymous class
{ public ConditionEvaluationResult eval( Duration pollInterval) throws Exception { try { supplier.run(); conditionEvaluationHandler.handleConditionResultMatch(getMatchMessage(supplier,settings.getAlias()),null,pollInterval); return new ConditionEvaluationResult(true); } catch ( AssertionError e) { lastExceptionMessage=e.getMessage(); conditionEvaluationHandler.handleConditionResultMismatch(getMismatchMessage(supplier,lastExceptionMessage,settings.getAlias()),null,pollInterval); return new ConditionEvaluationResult(false,null,e); } } }
to
{ public ConditionEvaluationResult eval( Duration pollInterval) throws Exception { try { supplier.run(); conditionEvaluationHandler.handleConditionResultMatch(getMatchMessage(supplier,settings.getAlias()),null,pollInterval); return new ConditionEvaluationResult(true); } catch ( AssertionError e) { lastExceptionMessage=e.getMessage(); conditionEvaluationHandler.handleConditionResultMismatch(getMismatchMessage(supplier,lastExceptionMessage,settings.getAlias()),null,pollInterval); return new ConditionEvaluationResult(false,null,e); } catch ( Throwable throwable) { return CheckedExceptionRethrower.safeRethrow(throwable); } } }