APIdia Launch Partner
Top Description Fields Constructors Methods
java.util

public non-sealed Class MissingFormatWidthException

extends IllegalFormatException
Class Inheritance

Unchecked exception thrown when the format width is required.

Unless otherwise specified, passing a null argument to any method or constructor in this class will cause a NullPointerException to be thrown.

Since
1.5

Field Summary

Modifier and TypeField and Description
private String
s

private static final long

Constructor Summary

AccessConstructor and Description
public
MissingFormatWidthException(String
The format specifier which does not have a width
s
)

Constructs an instance of this class with the specified format specifier.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The format specifier which does not have a width
getFormatSpecifier
()

Returns the format specifier which does not have a width.

public String
getMessage()

Overrides java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.

Field Detail

sback to summary
private String s
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.util.IllegalFormatException.serialVersionUID.

Annotations
@Serial

Constructor Detail

MissingFormatWidthExceptionback to summary
public MissingFormatWidthException(String s)

Constructs an instance of this class with the specified format specifier.

Parameters
s:String

The format specifier which does not have a width

Method Detail

getFormatSpecifierback to summary
public String getFormatSpecifier()

Returns the format specifier which does not have a width.

Returns:String

The format specifier which does not have a width

getMessageback to summary
public String getMessage()

Overrides java.lang.Throwable.getMessage.

Doc from java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.