function &throwError($message = null, $code = null, $userinfo = null)
    {
        if (isset($this) && is_a($this, 'PEAR')) {
            $a = &$this->raiseError($message, $code, null, null, $userinfo);
            return $a;
        }

        $a = &PEAR::raiseError($message, $code, null, null, $userinfo);
        return $a;
    }
function &throwError($message = null, $code = null, $userinfo = null)
    {
        if (isset($this) && is_a($this, 'PEAR')) {
            $a = &$this->raiseError($message, $code, null, null, $userinfo);
            return $a;
        }

        $a = &PEAR::raiseError($message, $code, null, null, $userinfo);
        return $a;
    }
function & throwError ( $ message = null , $ code = null , $ userinfo = null ) { if ( isset ( $ this ) && is_a ( $ this , 'PEAR' ) ) { $ a = & $ this -> raiseError ( $ message , $ code , null , null , $ userinfo ) ; return $ a ; } $ a = & PEAR :: raiseError ( $ message , $ code , null , null , $ userinfo ) ; return $ a ; }
Simpler form of raiseError with fewer options.  In most cases
message, code and userinfo are enough.

@param mixed $message a text error message or a PEAR error object

@param int $code      a numeric error code (it is up to your class
to define these if you want to use codes)

@param string $userinfo If you need to pass along for example debug
information, this parameter is meant for that.

@access public
@return object   a PEAR error object
@see PEAR::raiseError
Simpler form of raiseError with fewer options . In most cases message code and userinfo are enough .