public class IllegalFormatConversionException extends FormatterException
Constructor and Description |
---|
IllegalFormatConversionException(java.lang.String formatSpecifier,
char conversion,
java.lang.String signature)
Constructs an instance of this class with the mismatched conversion and
the corresponding argument class.
|
Modifier and Type | Method and Description |
---|---|
int |
getArgIndex() |
java.lang.String |
getArgumentSignature()
Returns the class of the mismatched argument.
|
char |
getConversion() |
java.lang.String |
getFormatSpecifier() |
java.lang.String |
getMessage() |
void |
setArgIndex(int argIndex) |
public IllegalFormatConversionException(java.lang.String formatSpecifier, char conversion, java.lang.String signature)
formatSpecifier
- Inapplicable format specifiersignature
- Signature of the mismatched argumentpublic void setArgIndex(int argIndex)
public int getArgIndex()
public java.lang.String getFormatSpecifier()
public char getConversion()
public java.lang.String getArgumentSignature()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable