From fd0cdcb4356f70d3fd56202bca394b063b88620e Mon Sep 17 00:00:00 2001 From: ushnish2001 <60659214+ushnish2001@users.noreply.github.com> Date: Fri, 16 Feb 2024 16:54:39 -0500 Subject: [PATCH] Changed the name of the exception --- src/main/java/de/dennisguse/opentracks/share/ShareUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/dennisguse/opentracks/share/ShareUtils.java b/src/main/java/de/dennisguse/opentracks/share/ShareUtils.java index 9dbcfad45..e4d44f722 100644 --- a/src/main/java/de/dennisguse/opentracks/share/ShareUtils.java +++ b/src/main/java/de/dennisguse/opentracks/share/ShareUtils.java @@ -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;