Original segmented address parsing exceptions

This commit is contained in:
caheckman 2019-08-21 13:42:14 -04:00
parent cabe66e282
commit 0595537962

View File

@ -216,9 +216,15 @@ public class SegmentedAddressSpace extends GenericAddressSpace {
private SegmentedAddress parseSegmented(String segStr, String offStr)
throws AddressFormatException {
int seg = -1;
int off = -1;
try {
seg = (int) parseString(segStr);
}
catch (NumberFormatException e) {
return null;
}
int off = -1;
try {
off = (int) parseString(offStr);
}
catch (NumberFormatException e) {