java.util

Class UnknownFormatFlagsException

public class UnknownFormatFlagsException extends IllegalFormatException

Thrown when a {@link Formatter} is supplied with an unknown flag.

Since: 1.5

Constructor Summary
UnknownFormatFlagsException(String s)
Constructs a new UnknownFormatFlagsException which specifies that the supplied set of flags contains a unknown.
Method Summary
StringgetFlags()
Returns the flags which contain a unknown.

Constructor Detail

UnknownFormatFlagsException

public UnknownFormatFlagsException(String s)
Constructs a new UnknownFormatFlagsException which specifies that the supplied set of flags contains a unknown.

Parameters: flags the flags containing a unknown.

Throws: NullPointerException if flags is null.

Method Detail

getFlags

public String getFlags()
Returns the flags which contain a unknown.

Returns: the flags.