package net.squanchy.navigation.deeplink;

public class DeepLinkParsingException extends RuntimeException {

    static DeepLinkParsingException eventDetailsMissingEventId(String path) {
        return new DeepLinkParsingException("Event details deeplink is missing event ID: \"" + path +"\"");
    }
    static DeepLinkParsingException speakerDetailsMissingSpeakerId(String path) {
        return new DeepLinkParsingException("Speaker details deeplink is missing speaker ID: \"" + path +"\"");
    }

    private DeepLinkParsingException(String message) {
        super(message);
    }
}

@@ -40,14 +40,13 @@
 k;%0A%0A
-public
+final
  cla

Make DeepLinkParsingException final and package private