public class IllegalFormatConversionException extends IllegalFormatException
Unless otherwise specified, passing a null argument to any method or constructor in this class will cause a
NullPointerException to be thrown.
| Constructor and Description |
|---|
IllegalFormatConversionException(char c,
java.lang.Class<?> arg)
Constructs an instance of this class with the mismatched conversion and the corresponding argument class.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<?> |
getArgumentClass()
Returns the class of the mismatched argument.
|
char |
getConversion()
Returns the inapplicable conversion.
|
java.lang.String |
getMessage() |
public IllegalFormatConversionException(char c,
java.lang.Class<?> arg)
c - Inapplicable conversionarg - Class of the mismatched argumentpublic char getConversion()
public java.lang.Class<?> getArgumentClass()
public java.lang.String getMessage()
getMessage in class java.lang.Throwable