Package java.util

Class UnknownFormatConversionException

All Implemented Interfaces:
Serializable

public class UnknownFormatConversionException
extends IllegalFormatException
An UnknownFormatConversionException will be thrown if the format conversion is unknown.
See Also:
RuntimeException, Serialized Form
  • Constructor Details

    • UnknownFormatConversionException

      public UnknownFormatConversionException​(String s)
      Constructs an UnknownFormatConversionException with the unknown format conversion.
      Parameters:
      s - the unknown format conversion.
  • Method Details

    • getConversion

      public String getConversion()
      Returns the conversion associated with the exception.
      Returns:
      the conversion 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