mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-11-14 19:54:43 +08:00
33 lines
565 B
PHP
33 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;
|
||
|
}
|
||
|
}
|