public function __construct() { try { parent::__construct(); $this->model(); $this->view(); } catch (Exception $e) { exit($e->getMessage()); } }