Implement throw and catch.