29 lines
601 B
PHP
29 lines
601 B
PHP
|
<?php
|
||
|
|
||
|
/*
|
||
|
* This file is part of SwiftMailer.
|
||
|
* (c) 2004-2009 Chris Corbyn
|
||
|
*
|
||
|
* For the full copyright and license information, please view the LICENSE
|
||
|
* file that was distributed with this source code.
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* Base Exception class.
|
||
|
*
|
||
|
* @author Chris Corbyn
|
||
|
*/
|
||
|
class Swift_SwiftException extends Exception
|
||
|
{
|
||
|
/**
|
||
|
* Create a new SwiftException with $message.
|
||
|
*
|
||
|
* @param string $message
|
||
|
* @param int $code
|
||
|
*/
|
||
|
public function __construct($message, $code = 0, Exception $previous = null)
|
||
|
{
|
||
|
parent::__construct($message, $code, $previous);
|
||
|
}
|
||
|
}
|