package org.automon.helloworld;

/**
 * Created by stevesouza on 2/13/15.
 */
public class HelloWorld {

    public String getFirstName() {
        return "Steve";
    }

    public String getLastName() {
        return "Souza";
    }

    public static void main(String[] args) throws Exception {
        HelloWorld hw = new HelloWorld();
        int loops = (args==null || args.length==0) ? 1 : Integer.valueOf(args[0]);
        for (int i=0;i<loops;i++) {
            System.out.println("loop "+i+" of "+loops);
            System.out.println(" "+hw.getFirstName());
            System.out.println(" "+hw.getLastName());
            Thread.sleep(1000);
        }
    }
}

@@ -221,32 +221,135 @@
 %22Souza%22;%0A    %7D%0A%0A
+    public void iMessedUp() %7B%0A        throw new RuntimeException(%22I really did it this time!%22);%0A    %7D%0A%0A
     public stati
@@ -712,32 +712,182 @@
 getLastName());%0A
+            try %7B%0A                hw.iMessedUp();%0A            %7D catch (RuntimeException excepion) %7B%0A                // hidden exception%0A            %7D%0A
             Thre

test - added throwing exceptions to HelloWorld class so they can be tracked too.