This project illustrates the use of enumerations as fault codes in Exceptions.
Please refer to the blog post Exception handling using enumerations in Java, part 1 and part 2 for a discussion on the why and how of enumerations as fault codes.
Original articles available on