Skip to content

Commit

Permalink
Numberformatexception handling (mosip#1273)
Browse files Browse the repository at this point in the history
Signed-off-by: dhanendra06 <[email protected]>
  • Loading branch information
MuralitharanK authored and dhanendra06 committed Aug 26, 2024
1 parent 8d15308 commit d296b5c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public boolean validateUin(String uin) {
return idValidator.validateUIN(uin);
else
return false;
} catch (InvalidIDException | IdAuthenticationBusinessException e) {
} catch (InvalidIDException | IdAuthenticationBusinessException | NumberFormatException e) {
return false;
}
}
Expand All @@ -52,7 +52,7 @@ public boolean validateVid(String vid) {
return idValidator.validateVID(vid);
else
return false;
} catch (InvalidIDException | IdAuthenticationBusinessException e) {
} catch (InvalidIDException | IdAuthenticationBusinessException | NumberFormatException e) {
return false;
}
}
Expand Down

0 comments on commit d296b5c

Please sign in to comment.