Package java.util

Class IllegalFormatConversionException

    • Constructor Detail

      • IllegalFormatConversionException

        public IllegalFormatConversionException​(char c,
                                                Class<?> arg)
        Constructs a new IllegalFormatConversionException with the class of the mismatched conversion and corresponding parameter.
        Parameters:
        c - the class of the mismatched conversion.
        arg - the corresponding parameter.
    • Method Detail

      • getArgumentClass

        public Class<?> getArgumentClass()
        Returns the class of the mismatched parameter.
        Returns:
        the class of the mismatched parameter.
      • 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