inspector-cochise / cochise

An audit tool for the apache webserver assisting on the BSI audit for the apache.
www.inspector-cochise.de
GNU General Public License v3.0
1 stars 0 forks source link

Decide on Exception hierarchy #38

Closed inspector-cochise closed 13 years ago

inspector-cochise commented 13 years ago

Decide which exception hierarchy should be used for error handling. RuntimeExceptions? Normal Exceptions?

Finer granulation of the exceptions type for different components?

inspector-cochise commented 13 years ago

http://onjava.com/onjava/2003/11/19/exceptions.html Seemed to be a good advise. -> RuntimeException in most cases -> checked exceptions seldomly where needed -> there are not so many different components for finer granulation of the exceptions

try to use built in java Exceptions

but an inspection of the use of RuntimeException really should be done (issue #39)