Class Swift_Events_TransportExceptionEvent

InheritanceSwift_Events_TransportExceptionEvent » Swift_Events_EventObject
ImplementsSwift_Events_Event

Generated when a TransportException is thrown from the Transport system.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() Create a new TransportExceptionEvent for $transport. Swift_Events_TransportExceptionEvent
bubbleCancelled() Returns true if this Event will not bubble any further up the stack. Swift_Events_EventObject
cancelBubble() Prevent this Event from bubbling any further up the stack. Swift_Events_EventObject
getException() Get the TransportException thrown. Swift_Events_TransportExceptionEvent
getSource() Get the source object of this event. Swift_Events_EventObject

Method Details

__construct() public method

Create a new TransportExceptionEvent for $transport.

public void __construct ( Swift_Transport $transport, Swift_TransportException $ex )
$transport Swift_Transport
$ex Swift_TransportException
getException() public method

Get the TransportException thrown.

public Swift_TransportException getException ( )