No, no.\n\n    while (alive) {\n        try {\n            list.append(shit_to_do);\n        }\n        catch (DeathException) {\n            cout&lt;&lt;"Well, shit.";\n            break;\n        }\n    }\n     