private function doDeleteSportType($id) { try { $this->sportTypeService->deleteSportType($id); } catch (Exceptions\DependencyException $ex) { $this->handleDependencyDelete($id, "this", $ex); } catch (Exceptions\DataErrorException $ex) { $this->handleDataDelete($id, "this", $ex); } }