Created
July 29, 2018 16:20
-
-
Save samfcmc/211769e97ae479b655610fbf410affeb to your computer and use it in GitHub Desktop.
Thread sleep method makes you catch an InterrupedException
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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