queria tratar um erro aleatório com Exception teria uma outra forma pois como ficou
não ficou bem … e1.printStackTrace(); + catch Exception
se alguém puder me ajudar…
abs
try{value1=Integer.parseInt((String)req.getParameter("value1"));value2=Integer.parseInt((String)req.getParameter("value2"));}catch(NumberFormatExceptione){value1=0;value2=0;thrownewNumberFormatException("No numbers were typed");}catch(Exceptione1){try{thrownewException("Erro na hora do calculo");}catch(Exceptione){// TODO Auto-generated catch blocke1.printStackTrace();}}