public class

IllegalFormatFlagsException

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

Class Overview

An IllegalFormatFlagsException will be thrown if the combination of the format flags is illegal.

See Also

Summary

Public Constructors
IllegalFormatFlagsException(String f)
Constructs a new IllegalFormatFlagsException with the specified flags.
Public Methods
String getFlags()
Returns the flags that are illegal.
String getMessage()
Returns the message string of the IllegalFormatFlagsException.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public IllegalFormatFlagsException (String f)

Since: API Level 1

Constructs a new IllegalFormatFlagsException with the specified flags.

Parameters
f the specified flags.

Public Methods

public String getFlags ()

Since: API Level 1

Returns the flags that are illegal.

Returns
  • the flags that are illegal.

public String getMessage ()

Since: API Level 1

Returns the message string of the IllegalFormatFlagsException.

Returns
  • the message string of the IllegalFormatFlagsException.