import java.util.*; public class ExceptionOne extends Exception { public void foo() { System.out.println("foo"); } }