Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.2
-
None
Description
Too many methods say throws Exception in their signature. This is neither helpful nor good API design. You never know what the exception is and where it came from.
An exception translation pattern has to be applied to make code usable, e.g., like the Spring project does or Maven with BuildException.
Unfortunately, this ugly practive has prevailed in several Apache projects like Lucene.