Simplified exception hamdling.