java.util
Class MissingFormatArgumentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
java.util.IllegalFormatException
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 an
unexisting argument.
- See Also:
- Serialized Form
Constructor Summary |
MissingFormatArgumentException(java.lang.String s)
Constructs an MissingFormatArgumentException with the specified
conversion that lacks the argument. |
Method Summary |
java.lang.String |
getFormatSpecifier()
Returns the conversion associated with the exception. |
java.lang.String |
getMessage()
Returns the message of the exception. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MissingFormatArgumentException
public MissingFormatArgumentException(java.lang.String s)
- Constructs an MissingFormatArgumentException with the specified
conversion that lacks the argument.
- Parameters:
s
- The specified conversion that lacks the argument.
getFormatSpecifier
public java.lang.String getFormatSpecifier()
- Returns the conversion associated with the exception.
- Returns:
- The conversion associated with the exception.
getMessage
public java.lang.String getMessage()
- Returns the message of the exception.
- Overrides:
getMessage
in class Throwable
- Returns:
- The message of the exception.