TYPO3  7.6
Public Member Functions | Private Attributes | List of all members
Swift_Events_TransportExceptionEvent Class Reference
Inheritance diagram for Swift_Events_TransportExceptionEvent:
Swift_Events_EventObject Swift_Events_Event

Public Member Functions

 __construct (Swift_Transport $transport, Swift_TransportException $ex)
 
 getException ()
 
- Public Member Functions inherited from Swift_Events_EventObject
 __construct ($source)
 
 getSource ()
 
 cancelBubble ($cancel=true)
 
 bubbleCancelled ()
 

Private Attributes

 $_exception
 

Detailed Description

Generated when a TransportException is thrown from the Transport system.

Author
Chris Corbyn

Definition at line 16 of file TransportExceptionEvent.php.

Constructor & Destructor Documentation

__construct ( Swift_Transport  $transport,
Swift_TransportException  $ex 
)

Create a new TransportExceptionEvent for $transport.

Parameters
Swift_Transport$transport
Swift_TransportException$ex

Definition at line 31 of file TransportExceptionEvent.php.

Member Function Documentation

getException ( )

Get the TransportException thrown.

Returns
Swift_TransportException

Definition at line 42 of file TransportExceptionEvent.php.

References $_exception.

Referenced by Swift_Plugins_LoggerPlugin\exceptionThrown().

Member Data Documentation

$_exception
private

Definition at line 23 of file TransportExceptionEvent.php.

Referenced by getException().