snappymail/rainloop/v/0.0.0/app/libraries/RainLoop/Exceptions/ClientException.php
2015-01-08 18:00:03 +04:00

32 lines
565 B
PHP

<?php
namespace RainLoop\Exceptions;
/**
* @category RainLoop
* @package Exceptions
*/
class ClientException extends Exception
{
/**
*
* @var string
*/
private $sAdditionalMessage;
public function __construct($iCode, $oPrevious = null, $sAdditionalMessage = '')
{
parent::__construct(\RainLoop\Notifications::GetNotificationsMessage($iCode, $oPrevious),
$iCode, $oPrevious);
$this->sAdditionalMessage = $sAdditionalMessage;
}
/**
* @return string
*/
public function getAdditionalMessage()
{
return $this->sAdditionalMessage;
}
}