Package java.util

Class IllegalFormatFlagsException

All Implemented Interfaces:
Serializable

public class IllegalFormatFlagsException
extends IllegalFormatException
implements Serializable
An IllegalFormatFlagsException will be thrown if the combination of the format flags is illegal.
See Also:
RuntimeException, Serialized Form
  • Constructor Details

    • IllegalFormatFlagsException

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

    • getFlags

      public String getFlags()
      Returns the flags that are illegal.
      Returns:
      the flags that are illegal.
    • 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