A tiny exception handler.