Throwing an Exception
Throwing an Exception
<%
try {
throw new ArithmeticException("Math Exception!");
} catch(ArithmeticException e) {
out.println("Exception message: " + e);
}
%>