PHP Class Prooph\ServiceBus\Exception\MessageDispatchException

Author: Alexander Miertsch ([email protected])
Inheritance: extends RuntimeException
Show file Open project: prooph/service-bus Class Usage Examples

Protected Properties

Property Type Description
$actionEvent Prooph\Common\Event\ActionEvent

Public Methods

Method Description
failed ( Prooph\Common\Event\ActionEvent $actionEvent, Exception $previousException = null ) : MessageDispatchException
getFailedDispatchEvent ( ) : Prooph\Common\Event\ActionEvent

Protected Methods

Method Description
setFailedDispatch ( Prooph\Common\Event\ActionEvent $actionEvent )

Method Details

failed() public static method

public static failed ( Prooph\Common\Event\ActionEvent $actionEvent, Exception $previousException = null ) : MessageDispatchException
$actionEvent Prooph\Common\Event\ActionEvent
$previousException Exception
return MessageDispatchException

getFailedDispatchEvent() public method

public getFailedDispatchEvent ( ) : Prooph\Common\Event\ActionEvent
return Prooph\Common\Event\ActionEvent

setFailedDispatch() protected method

protected setFailedDispatch ( Prooph\Common\Event\ActionEvent $actionEvent )
$actionEvent Prooph\Common\Event\ActionEvent

Property Details

$actionEvent protected property

protected ActionEvent,Prooph\Common\Event $actionEvent
return Prooph\Common\Event\ActionEvent