Created
November 9, 2015 09:31
-
-
Save SnuktheGreat/fdd97d32884da407b435 to your computer and use it in GitHub Desktop.
Pointless, but fun way to throw exceptions!
This file contains hidden or 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
| ಠ_ಠ(new IOException("Disk blew up.")) | |
| ... | |
| public <T extends Throwable> void ಠ_ಠ(T exception) throws T{ | |
| throw exception; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment