sendgrid / sendgrid-google-java

7 stars 23 forks source link

IOException is caught, constructor is package protected #2

Closed codenameone closed 11 years ago

codenameone commented 11 years ago

Despite the fact that the send method declares itself as throwing an IOException, the exception is caught and set to a public variable. Both rather bad practices. The constructor is package protected instead of public which doesn't really make much sense either.