original_string: public function setError($message, $code = 200, $info = null, $isSecurity = false)
      {
          if ($isSecurity) {
              $e = new \Gems_Exception_Security($message, $code, null, $info);
          } else {
              $e = new \Gems_Exception($message, $code, null, $info);
          }
          $this->setException($e);
      }
code: public function setError($message, $code = 200, $info = null, $isSecurity = false)
      {
          if ($isSecurity) {
              $e = new \Gems_Exception_Security($message, $code, null, $info);
          } else {
              $e = new \Gems_Exception($message, $code, null, $info);
          }
          $this->setException($e);
      }
code_tokens: public function setError ( $ message , $ code = 200 , $ info = null , $ isSecurity = false ) { if ( $ isSecurity ) { $ e = new \ Gems_Exception_Security ( $ message , $ code , null , $ info ) ; } else { $ e = new \ Gems_Exception ( $ message , $ code , null , $ info ) ; } $ this -> setException ( $ e ) ; }
docstring: Create an exception for the error, depending on processing position we either
  set the response exception or throw the exception if the response is
  
  @param string $message
  @param int $code
  @param string $info
  @param boolean $isSecurity
  @throws exception
docstring_tokens: Create an exception for the error depending on processing position we either set the response exception or throw the exception if the response is