Skip to content

Instantly share code, notes, and snippets.

@samfcmc
Created July 29, 2018 16:20
Show Gist options
  • Save samfcmc/211769e97ae479b655610fbf410affeb to your computer and use it in GitHub Desktop.
Save samfcmc/211769e97ae479b655610fbf410affeb to your computer and use it in GitHub Desktop.
Thread sleep method makes you catch an InterrupedException
try {
Thread.sleep(1500);
} catch(InterruptedException e) {
//This should never happen...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment