APIdia Launch Partner
Top Description Fields Constructors Methods
java.util

public non-sealed Class IllegalFormatFlagsException

extends IllegalFormatException
Class Inheritance

Unchecked exception thrown when an illegal combination flags is given.

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
private static final long

Constructor Summary

AccessConstructor and Description
public
IllegalFormatFlagsException(String
The set of format flags which contain an illegal combination
f
)

Constructs an instance of this class with the specified flags.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The flags
getFlags
()

Returns the set of flags which contains an illegal combination.

public String
getMessage()

Overrides java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.

Field Detail

flagsback to summary
private String flags
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.util.IllegalFormatException.serialVersionUID.

Annotations
@Serial

Constructor Detail

IllegalFormatFlagsExceptionback to summary
public IllegalFormatFlagsException(String f)

Constructs an instance of this class with the specified flags.

Parameters
f:String

The set of format flags which contain an illegal combination

Method Detail

getFlagsback to summary
public String getFlags()

Returns the set of flags which contains an illegal combination.

Returns:String

The flags

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.