public class ExceptionTwo extends Exception { public static boolean foo() { System.out.println("foo"); return false; } }