Skip to content

Commit

Permalink
Fix MNT-21968 catch NumberFormatException on parseInt
Browse files Browse the repository at this point in the history
  • Loading branch information
nbarithel committed Dec 9, 2020
1 parent a202dbc commit 4bfbcc6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ else if ((protocolResourceEncoding - NODE_PROTOCOL_CODE) < VIRTUAL_PROTOCOL_CODE
parameters);
return reference;
}
catch (ArrayIndexOutOfBoundsException e)
catch (ArrayIndexOutOfBoundsException | NumberFormatException e)
{
throw new ReferenceParseException("Invalid reference",
e);
Expand Down

0 comments on commit 4bfbcc6

Please sign in to comment.