java.util
public class IllegalFormatConversionException extends IllegalFormatException
Since: 1.5
| Constructor Summary | |
|---|---|
| IllegalFormatConversionException(char c, Class<?> arg)
Constructs a new IllegalFormatConversionException
which specifies that the argument of type arg does
not match the conversion character, c.
| |
| Method Summary | |
|---|---|
| Class<?> | getArgumentClass()
Returns the type of the mismatched argument.
|
| char | getConversion()
Returns the conversion character.
|
IllegalFormatConversionException
which specifies that the argument of type arg does
not match the conversion character, c.
Parameters: c the conversion character. arg the type which doesn't match the conversion character.
Throws: NullPointerException if arg is null.
Returns: the type of the mismatched argument.
Returns: the conversion character.