@staticmethod
    def __get_by_id(id):
        try:
            return RunnerType.get_by_id(id)
        except (__HOLE__, ValidationError) as e:
            msg = 'Database lookup for id="%s" resulted in exception. %s' % (id, e)
            LOG.exception(msg)
            abort(http_client.NOT_FOUND, msg)
dataset/ETHPy150Open StackStorm/st2/st2api/st2api/controllers/v1/runnertypes.py/RunnerTypesController.__get_by_id