Class NoMatchesFoundException

    • Constructor Detail

      • NoMatchesFoundException

        public NoMatchesFoundException​(String message)
        Create a new instance with the given message.
        Parameters:
        message - the exception message
    • Method Detail

      • forPattern

        public static NoMatchesFoundException forPattern​(Pattern pattern)
        Factory method to create a new instance with a standardized message for the given Pattern.
        Parameters:
        pattern - the Pattern object
        Returns:
        a new instance