rewrite catch, rethrow error _EXIT_