Skip to content

Commit

Permalink
Merge pull request #19 from numanSlm/branch_ushnish
Browse files Browse the repository at this point in the history
Changed the name of the exception from a generic to a dedicated one
  • Loading branch information
numanSlm authored Feb 16, 2024
2 parents b8b9f9d + fd0cdcb commit 9195a69
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public static Intent newShareFileIntent(Context context, Track.Id... trackIds) {
@Nullable
public static Intent newShareFileIntent(Context context, Marker.Id... markerIds) {
if (markerIds.length == 0) {
throw new RuntimeException("Need to share at least one marker.");
throw new ShareUtilsException("Need to share at least one marker.");
}

String mime = null;
Expand Down

0 comments on commit 9195a69

Please sign in to comment.