Most visited

Recently visited

Added in API level 1

FormatFlagsConversionMismatchException

public class FormatFlagsConversionMismatchException
extends IllegalFormatException

java.lang.Object
    java.lang.Throwable
      java.lang.Exception
        java.lang.RuntimeException
          java.lang.IllegalArgumentException
            java.util.IllegalFormatException
              java.util.FormatFlagsConversionMismatchException


转换和标志不兼容时抛出未经检查的异常。

除非另有说明,否则将 null参数传递给 此类中的任何方法或构造函数将导致引发 NullPointerException

摘要(Summary)

Public constructors

FormatFlagsConversionMismatchException(String f, char c)

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

公共方法(Public methods)

char getConversion()

返回不兼容的转换。

String getFlags()

返回不兼容的标志。

String getMessage()

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

继承方法(Inherited methods)

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

Public constructors

FormatFlagsConversionMismatchException

Added in API level 1
FormatFlagsConversionMismatchException (String f, 
                char c)

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

参数(Parameters)
f String: The flag
c char: The conversion

公共方法(Public methods)

getConversion

Added in API level 1
char getConversion ()

返回不兼容的转换。

返回(Returns)
char The conversion

getFlags

Added in API level 1
String getFlags ()

返回不兼容的标志。

返回(Returns)
String The flag

getMessage

Added in API level 1
String getMessage ()

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

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

Hooray!