加载中...
The Wayback Machine - https://sup1a9wrlpyh5li9ro.vcoronado.top/web/20090218034252/http://developer.android.com:80/reference/java/util/MissingFormatArgumentException.html
public class

MissingFormatArgumentException

extends IllegalFormatException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ java.lang.IllegalArgumentException
           ↳ java.util.IllegalFormatException
             ↳ java.util.MissingFormatArgumentException

Class Overview

The unchecked exception will be thrown out if there no corresponding argument with the specified conversion or an argument index that refers to a missing argument.

Summary

Public Constructors
MissingFormatArgumentException(String s)
Constructs an MissingFormatArgumentException with the specified conversion that lacks the argument.
Public Methods
String getFormatSpecifier()
Returns the conversion associated with the exception.
String getMessage()
Returns the message of the exception.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public MissingFormatArgumentException (String s)

Constructs an MissingFormatArgumentException with the specified conversion that lacks the argument.

Parameters
s The specified conversion that lacks the argument.

Public Methods

public String getFormatSpecifier ()

Returns the conversion associated with the exception.

Returns
  • The conversion associated with the exception.

public String getMessage ()

Returns the message of the exception.

Returns
  • The message of the exception.