Class UsageException

    • Field Detail

      • optionsDoc

        public final String optionsDoc
        A short help text about the options supported by the process method.
      • error

        public final String error
        The error message. Is null if the error is a plain syntax error (for example, a missing input file).
      • errorURL

        public final URL errorURL
        The URL of the options file (see -f option) having an error. Is null if the error was not found in an options file.
    • Constructor Detail

      • UsageException

        public UsageException​(String optionsDoc,
                              String error,
                              URL errorURL)
        Constructs an UsageException.
    • Method Detail

      • joinMessage

        public static String joinMessage​(String optionsDoc,
                                         String error,
                                         URL errorURL)
        Joins specified information to form a complete error message.