Name

IllegalFormatPrecisionException

Synopsis

An IllegalFormatException of this type is thrown by a Formatter when the precision of a format string is illegal.

java.util.IllegalFormatPrecisionException

Figure 16-32. java.util.IllegalFormatPrecisionException

public class IllegalFormatPrecisionException extends IllegalFormatException {
// Public Constructors
     public IllegalFormatPrecisionException(int p);  
// Public Instance Methods
     public int getPrecision( );  
// Public Methods Overriding Throwable
     public String getMessage( );  
}

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.