java.util

Class UnknownFormatConversionException

public class UnknownFormatConversionException extends IllegalFormatException

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

Since: 1.5

Constructor Summary
UnknownFormatConversionException(String s)
Constructs a new UnknownFormatConversionException for the specified conversion string.
Method Summary
StringgetConversion()
Returns the conversion string.

Constructor Detail

UnknownFormatConversionException

public UnknownFormatConversionException(String s)
Constructs a new UnknownFormatConversionException for the specified conversion string.

Parameters: s the conversion string.

Throws: NullPointerException if the conversion string is null.

Method Detail

getConversion

public String getConversion()
Returns the conversion string.

Returns: the conversion string.