public class IllegalFormatPrecisionException extends IllegalFormatException
| Constructor and Description |
|---|
IllegalFormatPrecisionException(int p)
用指定的精度构造这个类的一个实例。
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
返回该错误的详细信息的字符串。
|
int |
getPrecision()
返回精度
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic IllegalFormatPrecisionException(int p)
p -精度
public int getPrecision()
public String getMessage()
Throwable
getMessage 方法重写,继承类
Throwable
Throwable实例的详细信息的字符串(可以
null)。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.