Number format exceptions on numbers too large
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
16995f7ec1
commit
80ab3f42fc
Binary file not shown.
@ -330,7 +330,11 @@ public abstract class Reader{
|
||||
}
|
||||
}
|
||||
if (numb.length()>0) {
|
||||
return Integer.parseInt(numb);
|
||||
try {
|
||||
return Integer.parseInt(numb);
|
||||
} catch (NumberFormatException e) {
|
||||
return 0;
|
||||
}
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
|
BIN
sigPlace.jar
BIN
sigPlace.jar
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user