/* TestException3.java CIS 160 David Klick 2005-06-01 This program will compile. When the exception is generated, it will cause main to abort and print a stack trace since the exception is not caught. This is some of the information you would probably want to log. */ public class TestException3 { public static void main(String[] args) throws MyException { causeException1(); } static void causeException1() throws MyException { throw new MyException(); } } class MyException extends Exception {}