TYPO3  7.6
TransportExceptionEvent.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of SwiftMailer.
5  * (c) 2004-2009 Chris Corbyn
6  *
7  * For the full copyright and license information, please view the LICENSE
8  * file that was distributed with this source code.
9  */
10 
17 {
23  private $_exception;
24 
31  public function __construct(Swift_Transport $transport, Swift_TransportException $ex)
32  {
33  parent::__construct($transport);
34  $this->_exception = $ex;
35  }
36 
42  public function getException()
43  {
44  return $this->_exception;
45  }
46 }