public function GetResponseForExceptionEvent::getException

Returns the thrown exception

@api

Return value

\Exception The thrown exception

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Event/GetResponseForExceptionEvent.php, line 54

Class

GetResponseForExceptionEvent
Allows to create a response for a thrown exception

Namespace

Symfony\Component\HttpKernel\Event

Code

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