SwiftException.php 601 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /*
  3. * This file is part of SwiftMailer.
  4. * (c) 2004-2009 Chris Corbyn
  5. *
  6. * For the full copyright and license information, please view the LICENSE
  7. * file that was distributed with this source code.
  8. */
  9. /**
  10. * Base Exception class.
  11. *
  12. * @author Chris Corbyn
  13. */
  14. class Swift_SwiftException extends Exception
  15. {
  16. /**
  17. * Create a new SwiftException with $message.
  18. *
  19. * @param string $message
  20. * @param int $code
  21. */
  22. public function __construct($message, $code = 0, Exception $previous = null)
  23. {
  24. parent::__construct($message, $code, $previous);
  25. }
  26. }