camilleregnier / asptt-plongee

Automatically exported from code.google.com/p/asptt-plongee
0 stars 0 forks source link

Si le niveau mini de la plongée est BATM, ça plante #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Pb dans PlongeeServiceImpl.isOkForResa

java.lang.NumberFormatException: For input string: "ATM"     at 
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)   
  at java.lang.Integer.parseInt(Integer.java:449)     at 
java.lang.Integer.<init>(Integer.java:660)     at 
com.asptt.plongee.resa.service.impl.PlongeeServiceImpl.isOkForResa(PlongeeServic
eImpl.java:276)

int niveauMinPlongee = new 
Integer(plongee.getNiveauMinimum().toString().substring(1)).intValue();

Original issue reported on code.google.com by camille....@gmail.com on 20 Aug 2010 at 8:22

GoogleCodeExporter commented 9 years ago
ok, corrigé dans PlongeeServiceImpl.isOkForResa

Original comment by camille....@gmail.com on 22 Aug 2010 at 7:06