Archive for June, 2009

Exception Handling Policy – Using Assertions
Monday, June 29th, 2009

This is the second part in a series of four on exception handling and it focuses on an area related to exceptions — assertions.

A quick summary of posts in this series:

Throwing Exceptions Using Assertions (this one) Catching Exceptions Logging Exceptions

Guidelines for assertions

An assertion [...]

Exception Handling Policy – Throwing Exceptions
Monday, June 22nd, 2009

This is the first post in a series of four on exception handling.

The series will cover what I think is a good and sound strategy for handling exceptions and errors in your application.

It is written with Java in mind, but is applicable to most languages which feature exceptions.

A quick summary of the coming posts:

Throwing Exceptions [...]