public class Widget {
    private String prop;

    public Widget() {
    }

    public void setProp(String prop) throws Exception {
        this.prop = prop;
    }
}


public class Widget {
    private String prop;

    public Widget() {
    }

    public void setProp(String prop) throw Exception {
        this.prop = prop;
    }
}


--- 
+++ 
@@ -4,7 +4,7 @@
     public Widget() {
     }
 
-    public void setProp(String prop) throw Exception {
+    public void setProp(String prop) throws Exception {
         this.prop = prop;
     }
 }
Fix throws typo in test data class.
