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 flags)
Constructs a new IllegalFormatFlagsException with the specified flags.
Public Methods
String getFlags()
Returns the flags that are illegal.
String getMessage()
Returns the extra information message which was provided when this Throwable was created.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public IllegalFormatFlagsException (String flags)

Since: API Level 1

Constructs a new IllegalFormatFlagsException with the specified flags.

Parameters
flags 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 extra information message which was provided when this Throwable was created. Returns null if no message was provided at creation time.

Returns
  • this Throwable's detail message.