lib/classes/Swift/Transport/AbstractSmtpTransport.php
protected function throwException(Swift_TransportException $e)
    {
        if ($evt = $this->eventDispatcher->createTransportExceptionEvent($this, $e)) {
            $this->eventDispatcher->dispatchEvent($evt, 'exceptionThrown');
            if (!$evt->bubbleCancelled()) {
                throw $e;
            }
        } else {
            throw $e;
        }
    }
protected function throwException(Swift_TransportException $e)
    {
        if ($evt = $this->eventDispatcher->createTransportExceptionEvent($this, $e)) {
            $this->eventDispatcher->dispatchEvent($evt, 'exceptionThrown');
            if (!$evt->bubbleCancelled()) {
                throw $e;
            }
        } else {
            throw $e;
        }
    }
protected function throwException ( Swift_TransportException $ e ) { if ( $ evt = $ this -> eventDispatcher -> createTransportExceptionEvent ( $ this , $ e ) ) { $ this -> eventDispatcher -> dispatchEvent ( $ evt , 'exceptionThrown' ) ; if ( ! $ evt -> bubbleCancelled ( ) ) { throw $ e ; } } else { throw $ e ; } }
Throw a TransportException, first sending it to any listeners
Throw a TransportException first sending it to any listeners