def METHOD_NAME():
    try:
        class ClassA(Exception):
            pass
        class ClassB(Exception):
            pass
        try:
            raise ClassA("foo")
        except ClassA as e1:
            raise ClassB(str(e1)) from e1
    except Exception:  # different to Nuitka, pylint: disable=broad-except
        pass