Removed unnecessary exception handling.