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

A 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 Also

Summary

Public Constructors
MissingFormatArgumentException(String s)
Constructs a new 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)

Since: API Level 1

Constructs a new MissingFormatArgumentException with the specified conversion that lacks the argument.

Parameters
s the specified conversion that lacks the argument.

Public Methods

public String getFormatSpecifier ()

Since: API Level 1

Returns the conversion associated with the exception.

Returns
  • the conversion associated with the exception.

public String getMessage ()

Since: API Level 1

Returns the message of the exception.

Returns
  • the message of the exception.