Swift_Events_TransportExceptionEvent
extends Swift_Events_EventObject
in package
Generated when a TransportException is thrown from the Transport system.
Tags
Table of Contents
- $bubbleCancelled : mixed
- The state of this Event (should it bubble up the stack?)
- $exception : Swift_TransportException
- The Exception thrown.
- $source : mixed
- The source of this Event
- __construct() : mixed
- Create a new TransportExceptionEvent for $transport.
- bubbleCancelled() : bool
- Returns true if this Event will not bubble any further up the stack.
- cancelBubble() : mixed
- Prevent this Event from bubbling any further up the stack.
- getException() : Swift_TransportException
- Get the TransportException thrown.
- getSource() : object
- Get the source object of this event.
Properties
$bubbleCancelled
The state of this Event (should it bubble up the stack?)
private
mixed
$bubbleCancelled
= alse
$exception
The Exception thrown.
private
Swift_TransportException
$exception
$source
The source of this Event
private
mixed
$source
Methods
__construct()
Create a new TransportExceptionEvent for $transport.
public
__construct(Swift_Transport $transport, Swift_TransportException $ex) : mixed
Parameters
- $transport : Swift_Transport
- $ex : Swift_TransportException
Return values
mixed —bubbleCancelled()
Returns true if this Event will not bubble any further up the stack.
public
bubbleCancelled() : bool
Return values
bool —cancelBubble()
Prevent this Event from bubbling any further up the stack.
public
cancelBubble([mixed $cancel = true ]) : mixed
Parameters
- $cancel : mixed = true
Return values
mixed —getException()
Get the TransportException thrown.
public
getException() : Swift_TransportException
Return values
Swift_TransportException —getSource()
Get the source object of this event.
public
getSource() : object