example 8-9: trapping & reporting error