You are here

public function GetResponseForExceptionEvent::getException in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Event/GetResponseForExceptionEvent.php \Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent::getException()

Returns the thrown exception.

Return value

\Exception The thrown exception

File

vendor/symfony/http-kernel/Event/GetResponseForExceptionEvent.php, line 51

Class

GetResponseForExceptionEvent
Allows to create a response for a thrown exception.

Namespace

Symfony\Component\HttpKernel\Event

Code

public function getException() {
  return $this->exception;
}