original_string: protected function callActionMethod()
      {
          try {
              parent::callActionMethod();
          } catch (\Google_Service_Exception $exception) {
              $this->addFlashMessage('%1$s', 'Google API error', \Neos\Error\Messages\Message::SEVERITY_ERROR, ['message' => $exception->getMessage(), 1415797974]);
              $this->forward('errorMessage');
          } catch (MissingConfigurationException $exception) {
              $this->addFlashMessage('%1$s', 'Missing configuration', \Neos\Error\Messages\Message::SEVERITY_ERROR, ['message' => $exception->getMessage(), 1415797974]);
              $this->forward('errorMessage');
          } catch (AuthenticationRequiredException $exception) {
              $this->redirect('authenticate');
          }
      }
code: protected function callActionMethod()
      {
          try {
              parent::callActionMethod();
          } catch (\Google_Service_Exception $exception) {
              $this->addFlashMessage('%1$s', 'Google API error', \Neos\Error\Messages\Message::SEVERITY_ERROR, ['message' => $exception->getMessage(), 1415797974]);
              $this->forward('errorMessage');
          } catch (MissingConfigurationException $exception) {
              $this->addFlashMessage('%1$s', 'Missing configuration', \Neos\Error\Messages\Message::SEVERITY_ERROR, ['message' => $exception->getMessage(), 1415797974]);
              $this->forward('errorMessage');
          } catch (AuthenticationRequiredException $exception) {
              $this->redirect('authenticate');
          }
      }
code_tokens: protected function callActionMethod ( ) { try { parent :: callActionMethod ( ) ; } catch ( \ Google_Service_Exception $ exception ) { $ this -> addFlashMessage ( '%1$s' , 'Google API error' , \ Neos \ Error \ Messages \ Message :: SEVERITY_ERROR , [ 'message' => $ exception -> getMessage ( ) , 1415797974 ] ) ; $ this -> forward ( 'errorMessage' ) ; } catch ( MissingConfigurationException $ exception ) { $ this -> addFlashMessage ( '%1$s' , 'Missing configuration' , \ Neos \ Error \ Messages \ Message :: SEVERITY_ERROR , [ 'message' => $ exception -> getMessage ( ) , 1415797974 ] ) ; $ this -> forward ( 'errorMessage' ) ; } catch ( AuthenticationRequiredException $ exception ) { $ this -> redirect ( 'authenticate' ) ; } }
docstring: Catch Google service exceptions and forward to the "apiError" action to show
  an error message.
  
  @return void
docstring_tokens: Catch Google service exceptions and forward to the apiError action to show an error message .