Created
May 5, 2016 17:31
-
-
Save sowamazing/be5163ee88e1fca56c7103bd0ae92ed2 to your computer and use it in GitHub Desktop.
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 | |
{ | |
int x = 1/0; | |
} | |
catch(DivideByZeroException e ) | |
{ | |
// What you want to do when the error is thrown | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment