Implemented exception mech.