|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException java.lang.IllegalArgumentException java.util.IllegalFormatException java.util.IllegalFormatConversionException
The unchecked exception will be thrown out when the parameter is incompatible with the corresponding format specifier.
Constructor Summary | |
IllegalFormatConversionException(char c,
java.lang.Class arg)
Constructs an IllegalFormatConversionException with the class of the mismatched conversion and corresponding parameter. |
Method Summary | |
java.lang.Class |
getArgumentClass()
Return the class of the mismatched parameter. |
char |
getConversion()
Return the incompatible conversion. |
java.lang.String |
getMessage()
Return the message string of the IllegalFormatConversionException. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public IllegalFormatConversionException(char c, java.lang.Class arg)
c
- The class of the mismatched conversion.arg
- The corresponding parameter.Method Detail |
public java.lang.Class getArgumentClass()
public char getConversion()
public java.lang.String getMessage()
getMessage
in class Throwable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |