int main() {
 int hitpoint = 100;
 while(hitpoint) {
  try{
   dowork();
   hitpoint--;
   if (hitpoint == 0) {
    throw new ImTiredException();
    Sleep(24*60*60*1000);
   }
  } catch (Exception e) {
   hitpoint--;//もっと疲れろ //こう書くと何故か動く
  }
 }
}

いや、何となく。