Class CheckMojoException

    • Constructor Detail

      • CheckMojoException

        CheckMojoException​(CheckMojoException.Type type,
                           String... args)
        Creates a new exception for the given check failure type
        Parameters:
        type - The type of failure
        args - The arguments to integrate into the error message
    • Method Detail

      • getMessageForType

        private static String getMessageForType​(CheckMojoException.Type type,
                                                String... args)
        Returns a message for the given type and (optional) arguments
        Parameters:
        type - The type of exception
        args - The arguments to integrate into the error message
        Returns:
        A formatted exception message