Currently gp-rest-client only throws ServiceException . We may want to create specific exceptions for subclasses.