/**
  * Overwrites parent constructor to be able to inject current request object.
  *
  * @param string $message
  * @param integer $code
  * @param \Exception $previousException
  * @param \TYPO3\Flow\Mvc\RequestInterface $request
  * @see \Exception
  */
 public function __construct($message = '', $code = 0, \Exception $previousException = NULL, \TYPO3\Flow\Mvc\RequestInterface $request)
 {
     $this->request = $request;
     parent::__construct($message, $code, $previousException);
 }
 /**
  * Overwrites parent constructor to be able to inject current request object.
  *
  * @param string $message
  * @param integer $code
  * @param \Exception $previousException
  * @param RequestInterface $request
  * @see \Exception
  */
 public function __construct($message = '', $code = 0, \Exception $previousException = null, RequestInterface $request)
 {
     $this->request = $request;
     parent::__construct($message, $code, $previousException);
 }