1<?php 2 3/** 4 * Swift Mailer Logging Layer Interface 5 * Please read the LICENSE file 6 * @author Chris Corbyn <chris@w3style.co.uk> 7 * @package Swift_Log 8 * @license GNU Lesser General Public License 9 */ 10 11require_once dirname(__FILE__) . "/ClassLoader.php"; 12Swift_ClassLoader::load("Swift_LogContainer"); 13 14/** 15 * The Logger Interface 16 * @package Swift_Log 17 * @author Chris Corbyn <chris@w3style.co.uk> 18 */ 19class Swift_Exception extends Exception 20{ 21 /** 22 * Constructor. 23 * Creates the exception and appends log information if available. 24 * @param string Message 25 * @param int Code 26 */ 27 public function __construct($message, $code = 0) 28 { 29 parent::__construct($message, $code); 30 } 31} 32