Android
java.util
public class

java.util.DuplicateFormatFlagsException

java.lang.Object
java.lang.Throwable Serializable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
java.util.IllegalFormatException Serializable
java.util.DuplicateFormatFlagsException

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.
Methods inherited from class java.lang.Throwable
Methods inherited from class java.lang.Object

Details

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.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56