加载中...
The Wayback Machine - https://sup1a9wrlpyh5li9ro.vcoronado.top/web/20090218032434/http://developer.android.com:80/reference/java/util/FormatFlagsConversionMismatchException.html
public class

FormatFlagsConversionMismatchException

extends IllegalFormatException
implements Serializable
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ java.lang.IllegalArgumentException
           ↳ java.util.IllegalFormatException
             ↳ java.util.FormatFlagsConversionMismatchException

Class Overview

The unchecked exception will be thrown out if a conversion and flags are incompatible.

Summary

Public Constructors
FormatFlagsConversionMismatchException(String f, char c)
Construct a FormatFlagsConversionMismatchException with the flags and conversion specified.
Public Methods
char getConversion()
Returns the incompatible Conversion.
String getFlags()
Returns the incompatible format flag.
String getMessage()
Returns the message string of the FormatFlagsConversionMismatchException.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public FormatFlagsConversionMismatchException (String f, char c)

Construct a FormatFlagsConversionMismatchException with the flags and conversion specified.

Parameters
f The flags
c The conversion

Public Methods

public char getConversion ()

Returns the incompatible Conversion.

Returns
  • The incompatible Conversion.

public String getFlags ()

Returns the incompatible format flag.

Returns
  • The incompatible format flag.

public String getMessage ()

Returns the message string of the FormatFlagsConversionMismatchException.

Returns
  • The message string of the FormatFlagsConversionMismatchException.