Created
June 10, 2012 14:46
-
-
Save jjhamshaw/2906008 to your computer and use it in GitHub Desktop.
try, catch, finally
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
try | |
{ | |
// code which can cause an exception | |
} | |
catch (exception_type e) | |
{ | |
// code for handling the exception | |
} | |
finally | |
{ | |
// code for cleaning up | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment