Name

IllegalFormatWidthException

Synopsis

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

java.util.IllegalFormatWidthException

Figure 16-33. java.util.IllegalFormatWidthException

public class IllegalFormatWidthException extends IllegalFormatException {
// Public Constructors
     public IllegalFormatWidthException(int w);  
// Public Instance Methods
     public int getWidth( );  
// 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.