public class IllegalFormatPrecisionException 
      extends IllegalFormatException 
| java.lang.Object | ||||||
| java.lang.Throwable | ||||||
| java.lang.Exception | ||||||
| java.lang.RuntimeException | ||||||
| java.lang.IllegalArgumentException | ||||||
| java.util.IllegalFormatException | ||||||
| java.util.IllegalFormatPrecisionException | ||||||
当精度 为非-1以外的负值时抛出未经检查的异常,转换不支持精度,否则该值不受支持。
Public constructors |  
      |
|---|---|
  IllegalFormatPrecisionException(int p)  用指定的精度构造这个类的一个实例。  |  
      |
公共方法(Public methods) |  
      |
|---|---|
 String  |  
         getMessage()  返回此throwable的详细消息字符串。  |  
      
 int  |  
         getPrecision()  返回精度  |  
      
继承方法(Inherited methods) |  
      |
|---|---|
  java.lang.Throwable  
         |  
      |
  java.lang.Object  
         |  
      |
IllegalFormatPrecisionException (int p)
用指定的精度构造这个类的一个实例。
| 参数(Parameters) | |
|---|---|
p |  
         int: The precision  |  
       
String getMessage ()
返回此throwable的详细消息字符串。
| 返回(Returns) | |
|---|---|
String |  
        the detail message string of this Throwable instance (which may be null).  |