Class UnknownFlagException

All Implemented Interfaces:
Serializable

public class UnknownFlagException extends JSAPException
An exception indicating that a unknown flag has been specified.
Author:
Marty Lamb
See Also:
  • Constructor Details

    • UnknownFlagException

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

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

    • getFlag

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