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);
    }