public class IllegalFormatConversionException extends FormatterException
Constructor and Description |
---|
IllegalFormatConversionException(String formatSpecifier,
char conversion,
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() |
String |
getArgumentSignature()
Returns the class of the mismatched argument.
|
char |
getConversion() |
String |
getFormatSpecifier() |
String |
getMessage() |
void |
setArgIndex(int argIndex) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IllegalFormatConversionException(String formatSpecifier, char conversion, String signature)
formatSpecifier
- Inapplicable format specifiersignature
- Signature of the mismatched argumentpublic void setArgIndex(int argIndex)
public int getArgIndex()
public String getFormatSpecifier()
public char getConversion()
public String getArgumentSignature()
public String getMessage()
getMessage
in class Throwable