Package java.util

Class MissingFormatWidthException

All Implemented Interfaces:
Serializable

public class MissingFormatWidthException
extends IllegalFormatException
A MissingFormatWidthException will be thrown if the format width is missing but is required.
See Also:
RuntimeException, Serialized Form
  • Constructor Details

    • MissingFormatWidthException

      public MissingFormatWidthException​(String s)
      Constructs a new MissingFormatWidthException with the specified format specifier.
      Parameters:
      s - the specified format specifier.
  • Method Details

    • getFormatSpecifier

      public String getFormatSpecifier()
      Returns the format specifier associated with the exception.
      Returns:
      the format specifier 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