public function getPostModel($postId) { try { $postDAO = new PostDAO(); $postDTO = $postDAO->getPostByPostId($postId); return $postDTO; } catch (PDOException $pdoe) { throw $pdoe; } catch (UserNotAuthenticatedExceptionDTO $authExp) { throw $authExp; } catch (Exception $e) { throw $e; } }