Exception Handling
|
try...catch
|
try : to run the statemens if there is no exception
catch : to catch the exceptions
|
try...finally
|
try : to run the statemens if there is no exception
finally : to release the resources
|
try..catch..finally
|
try : to run the statemens if there is no exception
catch : to catch the exceptions
finally : to release the resources
|
throw
|
to signal the occurrence of an unusual exceptions
|
using
|
used as try..finally shorthand
|