Open
Description
Considering the fact that your great API is supposed to be used in a lot of different contexts like web service (Tomcat, Jetty, ...) as well as applications/other APIs it is very annoying to have calls to System.err.println which
- may be do not produce any output (web service)
- may pollute the user program/other API using GnuGetopt
In my case I have replaced all calls to System.err.println to throw new IllegalArgumentException which leaves it to the user/programmer to decide what he wants to do with the Exception
Metadata
Metadata
Assignees
Labels
No labels