try { int a = 5; int b = 0; int c = a / b; } catch (DivideByZeroException e) { //Code for handling this exception } catch (Exception e1) { //Code for handling this exception }
Himanshu Manjarawala Sr. Software Engineer@AutomationAnywhere http://fieredotnet.wordpress.com/
Thanks, Sanjay
R D Patel
Login to post response