diff --git a/src/main/java/de/dennisguse/opentracks/sensors/UintUtils.java b/src/main/java/de/dennisguse/opentracks/sensors/UintUtils.java index 6f444ca44..19f7be0f7 100644 --- a/src/main/java/de/dennisguse/opentracks/sensors/UintUtils.java +++ b/src/main/java/de/dennisguse/opentracks/sensors/UintUtils.java @@ -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); }