Number format exceptions on numbers too large

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
sigonasr2 2022-08-20 14:12:06 -05:00
parent 16995f7ec1
commit 80ab3f42fc
3 changed files with 5 additions and 1 deletions

Binary file not shown.

View File

@ -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;
}

Binary file not shown.