def render(self, request):
        actual_render = getattr(self, 'render_%s' % request.method)
        try:
            return actual_render(request)
        except __HOLE__ as e:
            typical_message = 'No JSON object could be decoded'
            if e.message == typical_message:
                request.setResponseCode(BAD_REQUEST, message='CDMI Request body is malformed')
                return ''
            else:
                raise e
dataset/ETHPy150Open livenson/vcdm/src/vcdm/server/cdmi/cdmiresource.py/StorageResource.render