Home » openjdk-7 » java » util » [javadoc | source]
java.util
public class: IllegalFormatConversionException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.lang.RuntimeException
            java.lang.IllegalArgumentException
               java.util.IllegalFormatException
                  java.util.IllegalFormatConversionException

All Implemented Interfaces:
    Serializable

Unchecked exception thrown when the argument corresponding to the format specifier is of an incompatible type.

Unless otherwise specified, passing a null argument to any method or constructor in this class will cause a NullPointerException to be thrown.

Fields inherited from java.lang.RuntimeException:
serialVersionUID
Fields inherited from java.lang.Exception:
serialVersionUID
Constructor:
 public IllegalFormatConversionException(char c,
    Class<?> arg) 
    Constructs an instance of this class with the mismatched conversion and the corresponding argument class.
    Parameters:
    c - Inapplicable conversion
    arg - Class of the mismatched argument
Method from java.util.IllegalFormatConversionException Summary:
getArgumentClass,   getConversion,   getMessage
Methods from java.lang.Throwable:
addSuppressed,   fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   getStackTraceDepth,   getStackTraceElement,   getSuppressed,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.util.IllegalFormatConversionException Detail:
 public Class<?> getArgumentClass() 
    Returns the class of the mismatched argument.
 public char getConversion() 
    Returns the inapplicable conversion.
 public String getMessage()