1. package junit.framework;
  2. /**
  3. * A <em>Protectable</em> can be run and can throw a Throwable.
  4. *
  5. * @see TestResult
  6. */
  7. public interface Protectable {
  8. /**
  9. * Run the the following method protected.
  10. */
  11. public abstract void protect() throws Throwable;
  12. }