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.
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.