Build 1.0_r1(from source)

java.util
Class MissingFormatArgumentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by java.util.IllegalFormatException
                      extended by java.util.MissingFormatArgumentException
All Implemented Interfaces:
Serializable

public class MissingFormatArgumentException
extends IllegalFormatException

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.

See Also:
Serialized Form

Constructor Summary
MissingFormatArgumentException(String s)
          Constructs an MissingFormatArgumentException with the specified conversion that lacks the argument.
 
Method Summary
 String getFormatSpecifier()
          Returns the conversion associated with the exception.
 String getMessage()
          Returns the message of the exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MissingFormatArgumentException

public MissingFormatArgumentException(String s)
Constructs an MissingFormatArgumentException with the specified conversion that lacks the argument.

Parameters:
s - The specified conversion that lacks the argument.
Method Detail

getFormatSpecifier

public String getFormatSpecifier()
Returns the conversion associated with the exception.

Returns:
The conversion associated with the exception.

getMessage

public String getMessage()
Returns the message of the exception.

Overrides:
getMessage in class Throwable
Returns:
The message of the exception.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature