Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
Update UintUtils.java
Browse files Browse the repository at this point in the history
Fixed error in DataOutOfRangeException class by extending Exception and passing errorMessage to the superclass constructor
  • Loading branch information
bhavya-bugude authored Oct 15, 2023
1 parent 00e7ce6 commit e15d938
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static long diff(long a, long b, final long UINT_MAX) {

return (UINT_MAX + 1 - b) + a;
}
static class DataOutOfRangeException extends RuntimeException{
static class DataOutOfRangeException extends Exception{
public DataOutOfRangeException(String errorMessage){
super(errorMessage);
}
Expand Down

0 comments on commit e15d938

Please sign in to comment.