Package java.util

Class FormatFlagsConversionMismatchException

All Implemented Interfaces:
Serializable

public class FormatFlagsConversionMismatchException
extends IllegalFormatException
implements Serializable
A FormatFlagsConversionMismatchException will be thrown if a conversion and the flags are incompatible.
See Also:
RuntimeException, Serialized Form
  • Constructor Details

    • FormatFlagsConversionMismatchException

      public FormatFlagsConversionMismatchException​(String f, char c)
      Constructs a new FormatFlagsConversionMismatchException with the flags and conversion specified.
      Parameters:
      f - the flags.
      c - the conversion.
  • Method Details

    • getFlags

      public String getFlags()
      Returns the incompatible format flag.
      Returns:
      the incompatible format flag.
    • getConversion

      public char getConversion()
      Returns the incompatible conversion.
      Returns:
      the incompatible conversion.
    • 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