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

    Modifier and Type
    Method
    Description
    void
    Execute the statement.
  • Method Details

    • evaluate

      void evaluate() throws Throwable
      Execute the statement.
      Throws:
      Throwable - the statement may throw an arbitrary exception.