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

DuplicateFormatFlagsException

extends IllegalFormatException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ java.lang.IllegalArgumentException
           ↳ java.util.IllegalFormatException
             ↳ java.util.DuplicateFormatFlagsException

Class Overview

The unchecked exception will be thrown out if there are duplicate flags given out in the format specifier.

Summary

Public Constructors
DuplicateFormatFlagsException(String f)
Constructs a DuplicateFormatFlagsException which flags is specified.
Public Methods
String getFlags()
Returns the format flags that contain a duplicate flag.
String getMessage()
Returns the message string of the DuplicateFormatFlagsException.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public DuplicateFormatFlagsException (String f)

Constructs a DuplicateFormatFlagsException which flags is specified.

Parameters
f The format flags that contain a duplicate flag.

Public Methods

public String getFlags ()

Returns the format flags that contain a duplicate flag.

Returns
  • The format flags that contain a duplicate flag.

public String getMessage ()

Returns the message string of the DuplicateFormatFlagsException.

Returns
  • The message string of the DuplicateFormatFlagsException.