Package java.util

Class IllegalFormatWidthException

    • Constructor Detail

      • IllegalFormatWidthException

        public IllegalFormatWidthException​(int w)
        Constructs a new IllegalFormatWidthException with specified width.
        Parameters:
        w - the width.
    • Method Detail

      • getWidth

        public int getWidth()
        Returns the width associated with the exception.
        Returns:
        the width.
      • 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