def __new__(cls, *args, **kw):
        error = BotoServerError(*args, **kw)
        try:
            newclass = globals()[error.error_code]
        except __HOLE__:
            newclass = ResponseError
        obj = newclass.__new__(newclass, *args, **kw)
        obj.__dict__.update(error.__dict__)
        return obj
dataset/ETHPy150Open darcyliu/storyboard/boto/mws/exception.py/ResponseErrorFactory.__new__