Class ArgException

  • All Implemented Interfaces:
    Serializable

    public class ArgException
    extends RuntimeException
    Argument exception. Usually a result of the parsing, but may be caused by invalid initialization.
    See Also:
    Serialized Form
    • Constructor Detail

      • ArgException

        public ArgException​(String format,
                            Object... args)
        Parameters:
        format - String message format.
        args - String format args.
      • ArgException

        public ArgException​(ArgParser parser,
                            String format,
                            Object... args)
        Parameters:
        parser - The parser where the exception occurred.
        format - String message format.
        args - String format args.
    • Method Detail

      • getParser

        public ArgParser getParser()
        Returns:
        The underlying parser, if any.