original_string: public function setState($state)
      {
          if (!isset($this->_states[$state])) {
              include_once 'Zend/Search/Exception.php';
              throw new Zend_Search_Exception('State \'' . $state . '\' is not on of the possible FSM states.');
          }
  
          $this->_currentState = $state;
      }
code: public function setState($state)
      {
          if (!isset($this->_states[$state])) {
              include_once 'Zend/Search/Exception.php';
              throw new Zend_Search_Exception('State \'' . $state . '\' is not on of the possible FSM states.');
          }
  
          $this->_currentState = $state;
      }
code_tokens: public function setState ( $ state ) { if ( ! isset ( $ this -> _states [ $ state ] ) ) { include_once 'Zend/Search/Exception.php' ; throw new Zend_Search_Exception ( 'State \'' . $ state . '\' is not on of the possible FSM states.' ) ; } $ this -> _currentState = $ state ; }
docstring: Set FSM state.
  No any action is invoked
  
  @param  integer|string $state
  @throws Zend_Search_Exception
docstring_tokens: Set FSM state . No any action is invoked