public function findOrFail($id)
    {
        $comment = $this->find($id);

        if (! $comment->getAdaptee()) {
            throw new QueryException("Comment [{$id}] not found.");
        }

        return $comment;
    }
public function findOrFail($id)
    {
        $comment = $this->find($id);

        if (! $comment->getAdaptee()) {
            throw new QueryException("Comment [{$id}] not found.");
        }

        return $comment;
    }
public function findOrFail ( $ id ) { $ comment = $ this -> find ( $ id ) ; if ( ! $ comment -> getAdaptee ( ) ) { throw new QueryException ( "Comment [{$id}] not found." ) ; } return $ comment ; }
Find comment by id or trow if unsuccessful.

@param int $id

@return \Assely\Adapter\Comment
Find comment by id or trow if unsuccessful .