java.util.IllegalFormatFlagsException: Flags = '-0'

Coderanch | meeta gaur | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    format

    Coderanch | 4 years ago | meeta gaur
    java.util.IllegalFormatFlagsException: Flags = '-0'
  2. 0

    System.print.out if one integer is a multiple of the other

    Stack Overflow | 2 years ago
    java.util.IllegalFormatFlagsException: Flags = ' '
  3. 0

    System.out.printf method throws a flags exception

    Stack Overflow | 1 year ago | Mohamed Bathaoui
    java.util.IllegalFormatFlagsException: Flags = '-+0'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.util.IllegalFormatFlagsException

      Flags = '-0'

      at java.util.Formatter$FormatSpecifier.checkNumeric()
    2. Java RT
      PrintStream.printf
      1. java.util.Formatter$FormatSpecifier.checkNumeric(Formatter.java:2979)
      2. java.util.Formatter$FormatSpecifier.checkFloat(Formatter.java:2953)
      3. java.util.Formatter$FormatSpecifier.<init>(Formatter.java:2686)
      4. java.util.Formatter.parse(Formatter.java:2528)
      5. java.util.Formatter.format(Formatter.java:2469)
      6. java.io.PrintStream.format(PrintStream.java:970)
      7. java.io.PrintStream.printf(PrintStream.java:871)
      7 frames
    3. Unknown
      Print.main
      1. Print.main(Print.java:25)
      1 frame