An Exception to the Rule
by in CodeSOD on 2017-09-27“Throw typed exceptions,” is generically good advice in a strongly typed language, like Java. It shouldn’t be followed thoughtlessly, but it’s a good rule of thumb. Some people may need a little more on the point, though.
Alexander L sends us this code: