Interface Statement
public interface Statement
Code that should be executed by
Fishbowl.exceptionThrownBy(Statement)
.
This code may throw a Throwable
. Therefore we cannot use
Runnable
.-
Method Summary
-
Method Details
-
evaluate
Execute the statement.- Throws:
Throwable
- the statement may throw an arbitrary exception.
-