Exception handling using enumerations in Java (II)

In the first part of this blog post I discussed how Java Enumerations can be conveniently used as 1. Fault codes in exceptions; and 2. Provide formatted and localized error messages The major drawback with the approach is that the fault codes make exception handling more complicated for cases when…