Adapted to CriticalExecutionException