public function __construct($iCode, $oPrevious = null, $sAdditionalMessage = '')
 {
     parent::__construct(\RainLoop\Notifications::GetNotificationsMessage($iCode, $oPrevious), $iCode, $oPrevious);
     $this->sAdditionalMessage = $sAdditionalMessage;
 }
 public function __construct($iCode, $oPrevious = null)
 {
     parent::__construct(\RainLoop\Notifications::GetNotificationsMessage($iCode, $oPrevious), $iCode, $oPrevious);
 }
Exemplo n.º 3
0
 /**
  * @param int $iCode
  * @param \Exception $oPrevious = null
  * @param string $sAdditionalMessage = ''
  * @param boolean $bLogoutOnException = false
  */
 public function __construct($iCode, $oPrevious = null, $sAdditionalMessage = '', $bLogoutOnException = false)
 {
     parent::__construct(\RainLoop\Notifications::GetNotificationsMessage($iCode, $oPrevious), $iCode, $oPrevious);
     $this->sAdditionalMessage = $sAdditionalMessage;
     $this->setLogoutOnException($bLogoutOnException);
 }