 try
catch (Exception ex)
finally


The statements within the block are executed, and if any of them throws an exception, execution of the block is discontinued and the exception is handled by the block.There may be multiple blocks, in which case the first block with an exception variable whose type matches the type of the thrown exception is executed.If no block matches the type of the thrown exception, the execution of the outer block (or method) containing the statement is discontinued, and the exception is passed up and outside the containing block or method.