mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-09-10 07:04:53 +08:00
Original unminified source code (dev folder - js, css, less) (fixes #6) Grunt build system Multiple identities correction (fixes #9) Compose html editor (fixes #12) New general settings - Loading Description New warning about default admin password Split general and login screen settings
52 lines
946 B
PHP
52 lines
946 B
PHP
<?php
|
|
|
|
namespace MailSo\Net\Exceptions;
|
|
|
|
/**
|
|
* @category MailSo
|
|
* @package Net
|
|
* @subpackage Exceptions
|
|
*/
|
|
class SocketCanNotConnectToHostException extends \MailSo\Net\Exceptions\ConnectionException
|
|
{
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $sSocketMessage;
|
|
|
|
/**
|
|
* @var int
|
|
*/
|
|
private $iSocketCode;
|
|
|
|
/**
|
|
* @param string $sSocketMessage = ''
|
|
* @param int $iSocketCode = 0
|
|
* @param string $sMessage = ''
|
|
* @param int $iCode = 0
|
|
* @param \Exception $oPrevious = null
|
|
*/
|
|
public function __construct($sSocketMessage = '', $iSocketCode = 0, $sMessage = '', $iCode = 0, $oPrevious = null)
|
|
{
|
|
parent::__construct($sMessage, $iCode, $oPrevious);
|
|
|
|
$this->sSocketMessage = $sSocketMessage;
|
|
$this->iSocketCode = $iSocketCode;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getSocketMessage()
|
|
{
|
|
return $this->sSocketMessage;
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getSocketCode()
|
|
{
|
|
return $this->sSocketMessage;
|
|
}
|
|
}
|