Class UnknownFlagException

    • Constructor Summary

      Constructors 
      Constructor Description
      UnknownFlagException​(java.lang.Character flag)
      Creates a new UnknownFlagException referencing the specified parameter.
      UnknownFlagException​(java.lang.String flag)
      Creates a new UnknownFlagException referencing the specified parameter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getFlag()
      Returns the unknown flag that was encountered.
      • 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
    • Constructor Detail

      • UnknownFlagException

        public UnknownFlagException​(java.lang.String flag)
        Creates a new UnknownFlagException referencing the specified parameter.
        Parameters:
        flag - the unknown flag that was encountered.
      • UnknownFlagException

        public UnknownFlagException​(java.lang.Character flag)
        Creates a new UnknownFlagException referencing the specified parameter.
        Parameters:
        flag - the unknown flag that was encountered.
    • Method Detail

      • getFlag

        public java.lang.String getFlag()
        Returns the unknown flag that was encountered.
        Returns:
        the unknown flag that was encountered.