exceptions fixed

This commit is contained in:
Clivern 2017-08-13 13:40:56 +02:00
parent 36cce72b66
commit 5c9c7195be
2 changed files with 7 additions and 9 deletions

View file

@ -13,16 +13,13 @@ namespace Clivern\Imap\Core\Exception;
class AuthenticationFailedException extends \Exception
{
/**
* Class Constructor
*
* @param string $error
*/
public function __construct($error = null)
{
parent::__construct(
sprintf(
"Authentication failed with error: %s",
$server,
$port,
$email,
$error
)
);
parent::__construct(sprintf("Authentication failed with error: %s", $error));
}
}

View file

@ -12,6 +12,7 @@ namespace Clivern\Imap\Core\Exception;
*/
class MessageDoesNotExistException extends \Exception
{
/**
* Class Constructor
*