public class IllegalFormatFlagsException
extends IllegalFormatException
| java.lang.Object | ||||||
| java.lang.Throwable | ||||||
| java.lang.Exception | ||||||
| java.lang.RuntimeException | ||||||
| java.lang.IllegalArgumentException | ||||||
| java.util.IllegalFormatException | ||||||
| java.util.IllegalFormatFlagsException | ||||||
发出非法组合标志时引发未经检查的异常。
除非另有说明,否则将 null参数传递给 此类中的任何方法或构造函数将导致引发 NullPointerException 。
Public constructors |
|
|---|---|
IllegalFormatFlagsException(String f) 用指定的标志构造这个类的一个实例。 |
|
公共方法(Public methods) |
|
|---|---|
String |
getFlags() 返回包含非法组合的标志组。 |
String |
getMessage() 返回此throwable的详细消息字符串。 |
继承方法(Inherited methods) |
|
|---|---|
java.lang.Throwable
|
|
java.lang.Object
|
|
IllegalFormatFlagsException (String f)
用指定的标志构造这个类的一个实例。
| 参数(Parameters) | |
|---|---|
f |
String: The set of format flags which contain an illegal combination |
String getMessage ()
返回此throwable的详细消息字符串。
| 返回(Returns) | |
|---|---|
String |
the detail message string of this Throwable instance (which may be null). |