js multiple try catch

Solutions on MaxInterview for js multiple try catch by the best coders in the world

showing results for - "js multiple try catch"
Liya
30 Apr 2018
1try
2{ 
3    // code that throws an exception
4}
5catch (Exception ex)
6{
7   // handle
8}
9try
10{ 
11    // this code will execute unless the previous catch block 
12    // throws an exception (re-throw or new exception) 
13}
14catch (Exception ex)
15{
16   // handle
17}