/** * Constructor. * * @param string $message Error message (non-translated). * @param code $code Error code. */ public function __construct($message = null, $code = null) { parent::__construct($message, $code); $this->raw_msg = $this->message; try { $this->message = Horde_Imap_Client_Translation::t($this->message); } catch (Horde_Translation_Exception $e) { } }
/** * Constructor. * * @param string $message Error message. * @param integer $code Error reason. * @param string $app Application being pushed. */ public function __construct($message, $code, $app) { $this->application = $app; parent::__construct($message, $code); }
/** * Constructor. * * @param string $msg Error message (non-translated). * @param code $code Error code. */ public function __construct($message = null, $code = null) { parent::__construct($message, $code); $this->raw_msg = $this->message; $this->message = Horde_Imap_Client_Translation::t($this->message); }