Skip to content

Commit

Permalink
Merge pull request #14 from Reva-B98/main_abhishek
Browse files Browse the repository at this point in the history
Fixed issue #13
  • Loading branch information
gup-abhi authored Feb 16, 2024
2 parents 7342fc2 + 99e9cfc commit 87e2884
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public Fragment createFragment(int position) {
return fc.newInstance();
}

throw new RuntimeException("There isn't Fragment associated with the position: " + position);
throw new IllegalArgumentException("There isn't Fragment associated with the position: " + position);
}

@Override
Expand Down

0 comments on commit 87e2884

Please sign in to comment.