Tag Archives: subclasses

Catching Generic Exception Classes

In Java you can have a try statement with multiple catch clauses.  In a method that handles exceptions, by for example wrapping and rethrowing, it is important to catch the root-most “Exception” class and this post explains why even though … Continue reading

Posted in Coding, Design, Poor Error Msg | Tagged , , , , , , | Leave a comment

Keep It Simple: Factory

Some of our development is done by outside contractors, and they have a long list of “code policies” for producing good code.  I have nothing against such policies in theory, but in practice it leads a lot of unnecessary work, … Continue reading

Posted in Coding | Tagged , , | Leave a comment