public function editAction($id = null)
    {
        try {
            return parent::editAction($id);
        } catch (\Exception $e) {
            return $this->editActionException($e);
        }
    }
public function editAction($id = null)
    {
        try {
            return parent::editAction($id);
        } catch (\Exception $e) {
            return $this->editActionException($e);
        }
    }
public function editAction ( $ id = null ) { try { return parent :: editAction ( $ id ) ; } catch ( \ Exception $ e ) { return $ this -> editActionException ( $ e ) ; } }
editAction override from CRUDController.

@param int|null $id Object id

@see Sonata\AdminBundle\Controller\CRUDController::edit()

@return Response|RedirectResponse
editAction override from CRUDController .