def __init__(self, **kwargs):
        try:
            self.message = self.msg_fmt % kwargs
        except __HOLE__:
            exc_info = sys.exc_info()
            log.exception(_('Exception in string format operation: %s')
                          % exc_info[1])

            if TOSCAException._FATAL_EXCEPTION_FORMAT_ERRORS:
                raise exc_info[0]
dataset/ETHPy150Open openstack/tosca-parser/toscaparser/common/exception.py/TOSCAException.__init__