java.util.MissingFormatWidthException: -3$d

Coderanch | J C upadhyay | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    MissingFormatWidthException

    Coderanch | 5 years ago | J C upadhyay
    java.util.MissingFormatWidthException: -3$d

    Root Cause Analysis

    1. java.util.MissingFormatWidthException

      -3$d

      at java.util.Formatter$FormatSpecifier.checkNumeric()
    2. Java RT
      PrintStream.printf
      1. java.util.Formatter$FormatSpecifier.checkNumeric(Unknown Source)
      2. java.util.Formatter$FormatSpecifier.checkInteger(Unknown Source)
      3. java.util.Formatter$FormatSpecifier.<init>(Unknown Source)
      4. java.util.Formatter.parse(Unknown Source)
      5. java.util.Formatter.format(Unknown Source)
      6. java.io.PrintStream.format(Unknown Source)
      7. java.io.PrintStream.printf(Unknown Source)
      7 frames
    3. Unknown
      MathBoy.main
      1. MathBoy.main(MathBoy.java:10)
      1 frame