java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
java.util.IllegalFormatException
java.util.MissingFormatArgumentException
public class MissingFormatArgumentException
     如果格式说明符没有相应的参数,或者参数索引引用了不存在的参数时,则抛出未经检查的异常。
 除非另行指定,否则将 null 参数传递给此类中的任何方法或构造方法都会抛出 NullPointerException。 
| 构造方法摘要 | |
|---|---|
MissingFormatArgumentException(String s) 构造带有不匹配的格式说明符的此类的一个实例。  |  
    |
| 方法摘要 | |
|---|---|
  String |  
     getFormatSpecifier() 返回不匹配的格式说明符。  |  
    
  String |  
     getMessage() 返回此 throwable 的详细消息字符串。  |  
    
| 从类 java.lang.Throwable 继承的方法 | 
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |  
    
| 从类 java.lang.Object 继承的方法 | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |  
    
| 构造方法详细信息 | 
|---|
public MissingFormatArgumentException(String s)
s - 没有相应参数的格式说明符。
     | 方法详细信息 | 
|---|
public String getFormatSpecifier()
public String getMessage()
Throwable 复制的描述
   
Throwable 中的 
      getMessage