Package java.util

Class UnknownFormatFlagsException

All Implemented Interfaces:
Serializable

public class UnknownFormatFlagsException
extends IllegalFormatException
An UnknownFormatFlagsException will be thrown if there is an unknown flag.
See Also:
RuntimeException, Serialized Form
  • Constructor Details

    • UnknownFormatFlagsException

      public UnknownFormatFlagsException​(String f)
      Constructs a new UnknownFormatFlagsException with the specified flags.
      Parameters:
      f - the specified flags.
  • Method Details

    • getFlags

      public String getFlags()
      Returns the flags associated with the exception.
      Returns:
      the flags associated with the exception.
    • getMessage

      public String getMessage()
      Description copied from class: Throwable
      Returns the detail message which was provided when this Throwable was created. Returns null if no message was provided at creation time.
      Overrides:
      getMessage in class Throwable