Exception handler added.