Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent::setException
Replaces the thrown exception
This exception will be thrown if no response is set in the event.
Signature
public function setException(Exception
$exception )
Parameters
$exception
— \Exception- The thrown exception