Skip to content

Instantly share code, notes, and snippets.

@kennydude
Created February 14, 2013 14:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kennydude/4953168 to your computer and use it in GitHub Desktop.
Save kennydude/4953168 to your computer and use it in GitHub Desktop.
Success!!!!
while(noSuccess){
try{
tryAgain();
} catch(InvalidStateException e){
break;
} catch(SleepDeprevationException e){
sleep( new Hours(8) );
} catch(DeathException e){
break;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment