java.util

Class IllegalFormatFlagsException

public class IllegalFormatFlagsException extends IllegalFormatException

Thrown when the flags supplied to the {@link Formatter#format()} method of a {@link Formatter} form an illegal combination.

Since: 1.5

Constructor Summary
IllegalFormatFlagsException(String flags)
Constructs a new IllegalFormatFlagsException for the specified flags.
Method Summary
StringgetFlags()
Returns the illegal flags.

Constructor Detail

IllegalFormatFlagsException

public IllegalFormatFlagsException(String flags)
Constructs a new IllegalFormatFlagsException for the specified flags.

Parameters: flags the illegal set of flags.

Throws: NullPointerException if flags is null.

Method Detail

getFlags

public String getFlags()
Returns the illegal flags.

Returns: the illegal flags.