/** * Title: ThrowUp * Description: Silly example of throwing an exception in a catch * @author hollingd@cs.rpi.edu */ public class ThrowUp { public static void main(String[] args) { String tmp; try { // generate an ArrayIndexOutOfBoundsExceptions (on purpose!). for (int i=0;i