FileDocCategorySizeDatePackage
IllegalFormatFlagsException.javaAPI DocAndroid 1.5 API2123Wed May 06 22:41:04 BST 2009java.util

IllegalFormatFlagsException

public class IllegalFormatFlagsException extends IllegalFormatException implements Serializable
An {@code IllegalFormatFlagsException} will be thrown if the combination of the format flags is illegal.
see
java.lang.RuntimeException
since
Android 1.0

Fields Summary
private static final long
serialVersionUID
private String
flags
Constructors Summary
public IllegalFormatFlagsException(String f)
Constructs a new {@code IllegalFormatFlagsException} with the specified flags.

param
f the specified flags.


                                  
       
        if (null == f) {
            throw new NullPointerException();
        }
        flags = f;
    
Methods Summary
public java.lang.StringgetFlags()
Returns the flags that are illegal.

return
the flags that are illegal.

        return flags;
    
public java.lang.StringgetMessage()
Returns the message string of the IllegalFormatFlagsException.

return
the message string of the IllegalFormatFlagsException.

        StringBuilder buffer = new StringBuilder();
        buffer.append("Flags = '");
        buffer.append(flags);
        buffer.append("'");
        return buffer.toString();