FileDocCategorySizeDatePackage
MissingFormatArgumentException.javaAPI DocAndroid 1.5 API2100Wed May 06 22:41:04 BST 2009java.util

MissingFormatArgumentException

public class MissingFormatArgumentException extends IllegalFormatException
A {@code MissingFormatArgumentException} will be thrown if there is no corresponding argument with the specified conversion or an argument index that refers to a missing argument.
see
java.lang.RuntimeException
since
Android 1.0

Fields Summary
private static final long
serialVersionUID
private String
s
Constructors Summary
public MissingFormatArgumentException(String s)
Constructs a new {@code MissingFormatArgumentException} with the specified conversion that lacks the argument.

param
s the specified conversion that lacks the argument.


                                          
       
        if (null == s) {
            throw new NullPointerException();
        }
        this.s = s;
    
Methods Summary
public java.lang.StringgetFormatSpecifier()
Returns the conversion associated with the exception.

return
the conversion associated with the exception.

        return s;
    
public java.lang.StringgetMessage()
Returns the message of the exception.

return
the message of the exception.

        return Msg.getString("K0348", s);