From 99e9cfcf5996f4378379ea125fad3eab51eadf52 Mon Sep 17 00:00:00 2001 From: gup-abhi Date: Fri, 16 Feb 2024 12:33:06 -0500 Subject: [PATCH] Fixed issue #13 --- .../opentracks/introduction/IntroductionActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/dennisguse/opentracks/introduction/IntroductionActivity.java b/src/main/java/de/dennisguse/opentracks/introduction/IntroductionActivity.java index bb921af4b..6d8638b5b 100644 --- a/src/main/java/de/dennisguse/opentracks/introduction/IntroductionActivity.java +++ b/src/main/java/de/dennisguse/opentracks/introduction/IntroductionActivity.java @@ -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