APIdia Launch Partner
Top Description Fields Constructors Methods
java.util

public non-sealed Class FormatFlagsConversionMismatchException

extends IllegalFormatException
Class Inheritance

Unchecked exception thrown when a conversion and flag are incompatible.

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 char
c

private String
f

private static final long

Constructor Summary

AccessConstructor and Description
public
FormatFlagsConversionMismatchException(String
The flag
f
,
char
The conversion
c
)

Constructs an instance of this class with the specified flag and conversion.

Method Summary

Modifier and TypeMethod and Description
public char

Returns:

The conversion
getConversion
()

Returns the incompatible conversion.

public String

Returns:

The flag
getFlags
()

Returns the incompatible flag.

public String
getMessage()

Overrides java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.

Field Detail

cback to summary
private char c
fback to summary
private String f
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.util.IllegalFormatException.serialVersionUID.

Annotations
@Serial

Constructor Detail

FormatFlagsConversionMismatchExceptionback to summary
public FormatFlagsConversionMismatchException(String f, char c)

Constructs an instance of this class with the specified flag and conversion.

Parameters
f:String

The flag

c:char

The conversion

Method Detail

getConversionback to summary
public char getConversion()

Returns the incompatible conversion.

Returns:char

The conversion

getFlagsback to summary
public String getFlags()

Returns the incompatible flag.

Returns:String

The flag

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.