コード例 #1
0
 /**
  * Calls the parent exception constructor.
  * @param string $listenerUID the listener unique identifier not available
  * @param null|\Exception $previousException
  */
 public function __construct($listenerUID, \Exception $previousException = null)
 {
     parent::__construct(sprintf('The listener with the UID `%s` is not available.', $listenerUID), 0, $previousException);
 }
コード例 #2
0
 /**
  * Calls the parent exception constructor.
  * @param string $messageName the message which has an infinite loop
  * @param integer $recursionDepth the max recursion depth reached
  * @param null|\Exception $previousException
  */
 public function __construct($messageName, $recursionDepth, \Exception $previousException = null)
 {
     parent::__construct(sprintf('The message `%s` reached a recursion depth of %d.', $messageName, $recursionDepth), 0, $previousException);
 }
コード例 #3
0
 /**
  * Calls the parent exception constructor.
  * @param string $messageName the message which has not a listener queue
  * @param null|\Exception $previousException
  */
 public function __construct($messageName, \Exception $previousException = null)
 {
     parent::__construct(sprintf('The listeners for the message `%s` are not available.', $messageName), 0, $previousException);
 }