public function run()
    {
        try {
            $this->init();
            $this->executeController();
        } catch (\Exception $e) {
            $this->logger->addCritical('Exception caught', array('exception' => $e));
            $this->response->setHttpResponseCode(500);
        }
    }
public function run()
    {
        try {
            $this->init();
            $this->executeController();
        } catch (\Exception $e) {
            $this->logger->addCritical('Exception caught', array('exception' => $e));
            $this->response->setHttpResponseCode(500);
        }
    }
public function run ( ) { try { $ this -> init ( ) ; $ this -> executeController ( ) ; } catch ( \ Exception $ e ) { $ this -> logger -> addCritical ( 'Exception caught' , array ( 'exception' => $ e ) ) ; $ this -> response -> setHttpResponseCode ( 500 ) ; } }
Process the request, and generate output.

@return void
Process the request and generate output .