In addition to logging and swallowing the exception, this method also then
returns null. This is also a bad practice.
The caller has to check for null. One of the reasons exceptions were invented
was to free the user from needing to check for null or error codes.
— Miguel
- [IMAGING] Logging vs Throwing exceptions Gary D. Gregory
- Re: [IMAGING] Logging vs Throwing exceptions Gilles Sadowski
- Re: [IMAGING] Logging vs Throwing exceptions Gilles Sadowski
- Re: [IMAGING] Logging vs Throwing exceptions Miguel Muñoz
- Re: [IMAGING] Logging vs Throwing excepti... Peter Hull
- Re: [IMAGING] Logging vs Throwing excepti... Gary Gregory
