Tag Archives: coding

Canonical Execution Error Example

If we are going to talk about error messages, we need to flesh out a typical computation scenario within which an error occurs.  I use this example in other places to talk about possible error messages.

Posted in Coding, Design, Example Code | Tagged , , , , | Leave a comment

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