public class Widget {
    private String prop;

    public Widget() {
    }

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


public class Widget {
    private String prop;

    public Widget() {
    }

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


Fix throws typo in test data class.