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