def exception_name(exc):
        try:
            return exc.__class__.__name__
        except __HOLE__:
            return exc.__name__
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Mako-0.8.1/mako/compat.py/exception_name