mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 21:49:21 +03:00
v1.2.10.427
This commit is contained in:
parent
b1032fd365
commit
c658c5af1f
396 changed files with 644 additions and 187 deletions
|
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
|
||||
namespace MailSo\Base\Exceptions;
|
||||
|
||||
/**
|
||||
* @category MailSo
|
||||
* @package Base
|
||||
* @subpackage Exceptions
|
||||
*/
|
||||
class Exception extends \Exception
|
||||
{
|
||||
/**
|
||||
* @param string $sMessage
|
||||
* @param int $iCode
|
||||
* @param \Exception|null $oPrevious
|
||||
*/
|
||||
public function __construct($sMessage = '', $iCode = 0, $oPrevious = null)
|
||||
{
|
||||
$sMessage = 0 === strlen($sMessage) ? str_replace('\\', '-', get_class($this)).' ('.
|
||||
basename($this->getFile()).' ~ '.$this->getLine().')' : $sMessage;
|
||||
|
||||
parent::__construct($sMessage, $iCode, $oPrevious);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue