Most visited

Recently visited

Added in API level 1

IllegalFormatFlagsException

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 。

Summary

Public constructors

IllegalFormatFlagsException(String f)

用指定的标志构造这个类的一个实例。

Public methods

String getFlags()

返回包含非法组合的标志组。

String getMessage()

返回此throwable的详细消息字符串。

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public constructors

IllegalFormatFlagsException

Added in API level 1
IllegalFormatFlagsException (String f)

用指定的标志构造这个类的一个实例。

Parameters
f String: The set of format flags which contain an illegal combination

Public methods

getFlags

Added in API level 1
String getFlags ()

返回包含非法组合的标志组。

Returns
String The flags

getMessage

Added in API level 1
String getMessage ()

返回此throwable的详细消息字符串。

Returns
String the detail message string of this Throwable instance (which may be null).

Hooray!