[TASK][!!!] Replaces die() calls with RuntimeException