Android
java.util
public class

java.util.MissingFormatArgumentException

java.lang.Object
java.lang.Throwable Serializable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
java.util.IllegalFormatException Serializable
java.util.MissingFormatArgumentException

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.
Methods inherited from class java.lang.Throwable
Methods inherited from class java.lang.Object

Details

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.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56