public function callResourceAction() { if ($this->exception === null) { try { $this->router->callResourceAction(); } catch (\Exception $e) { $this->handleException($e); } } return $this; }