Class UnrecognizedOptionException

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String option
      The unrecognized option.
      private static long serialVersionUID
      This exception serialVersionUID.
    • Constructor Summary

      Constructors 
      Constructor Description
      UnrecognizedOptionException​(java.lang.String message)
      Constructs a new UnrecognizedArgumentException with the specified detail message.
      UnrecognizedOptionException​(java.lang.String message, java.lang.String option)
      Constructs a new UnrecognizedArgumentException with the specified option and detail message.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getOption()
      Gets the unrecognized option.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        This exception serialVersionUID.
        See Also:
        Constant Field Values
      • option

        private final java.lang.String option
        The unrecognized option.
    • Constructor Detail

      • UnrecognizedOptionException

        public UnrecognizedOptionException​(java.lang.String message)
        Constructs a new UnrecognizedArgumentException with the specified detail message.
        Parameters:
        message - the detail message
      • UnrecognizedOptionException

        public UnrecognizedOptionException​(java.lang.String message,
                                           java.lang.String option)
        Constructs a new UnrecognizedArgumentException with the specified option and detail message.
        Parameters:
        message - the detail message
        option - the unrecognized option
        Since:
        1.2
    • Method Detail

      • getOption

        public java.lang.String getOption()
        Gets the unrecognized option.
        Returns:
        the related option
        Since:
        1.2