|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
java.util.IllegalFormatException
java.util.IllegalFormatConversionException
public class IllegalFormatConversionException
The unchecked exception will be thrown out when the parameter is incompatible with the corresponding format specifier.
| Constructor Summary | |
|---|---|
IllegalFormatConversionException(char c,
Class<?> arg)
Constructs an IllegalFormatConversionException with the class of the mismatched conversion and corresponding parameter. |
|
| Method Summary | |
|---|---|
Class<?> |
getArgumentClass()
Return the class of the mismatched parameter. |
char |
getConversion()
Return the incompatible conversion. |
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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IllegalFormatConversionException(char c,
Class<?> arg)
c - The class of the mismatched conversion.arg - The corresponding parameter.| Method Detail |
|---|
public Class<?> getArgumentClass()
public char getConversion()
public String getMessage()
getMessage in class Throwable
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||