Use of Try catch in jsp

<% try{ int a = 10; int b = 10; b = a / 0; } catch(Exception e){ out.println("The Error is: " + e); } %>