original_string: protected function checkPreparation()
      {
          // must be prepared
          if (null === $this->prepared) {
              throw new RuntimeException(
                  Message::get(Message::DB_STMT_NOTPREPARED),
                  Message::DB_STMT_NOTPREPARED
              );
          }
  
          // close any previous resultset
          $this->closeResult();
      }
code: protected function checkPreparation()
      {
          // must be prepared
          if (null === $this->prepared) {
              throw new RuntimeException(
                  Message::get(Message::DB_STMT_NOTPREPARED),
                  Message::DB_STMT_NOTPREPARED
              );
          }
  
          // close any previous resultset
          $this->closeResult();
      }
code_tokens: protected function checkPreparation ( ) { // must be prepared if ( null === $ this -> prepared ) { throw new RuntimeException ( Message :: get ( Message :: DB_STMT_NOTPREPARED ) , Message :: DB_STMT_NOTPREPARED ) ; } // close any previous resultset $ this -> closeResult ( ) ; }
docstring: Throw exception if not prepared
  
  @throws RuntimeException
  @access protected
docstring_tokens: Throw exception if not prepared