Handle Exception.