original_string: private function _setErrorMode()
      {
          // get PDO object and enable exception error mode
          $pdo = $this->_getPdo();
          $this->_errMode = $pdo->getAttribute(PDO::ATTR_ERRMODE);
          $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
      }
code: private function _setErrorMode()
      {
          // get PDO object and enable exception error mode
          $pdo = $this->_getPdo();
          $this->_errMode = $pdo->getAttribute(PDO::ATTR_ERRMODE);
          $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
      }
code_tokens: private function _setErrorMode ( ) { // get PDO object and enable exception error mode $ pdo = $ this -> _getPdo ( ) ; $ this -> _errMode = $ pdo -> getAttribute ( PDO :: ATTR_ERRMODE ) ; $ pdo -> setAttribute ( PDO :: ATTR_ERRMODE , PDO :: ERRMODE_EXCEPTION ) ; }
docstring: This method will enable the Exception error mode on the PDO object
  
  @return void
docstring_tokens: This method will enable the Exception error mode on the PDO object