Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.0, 1.1, 2.0, 2.0.1
-
None
Description
Many classes use throw new Exception("") even though there is no presumption that this checked exception is to be caught and dealt with.
These should either be RuntimeExceptions or an appropriate subclass, eg IllegalArgumentException, NumberFormatException etc