FileDocCategorySizeDatePackage
IllegalFormatPrecisionException.javaAPI DocAndroid 1.5 API1835Wed May 06 22:41:04 BST 2009java.util

IllegalFormatPrecisionException

public class IllegalFormatPrecisionException extends IllegalFormatException
An {@code IllegalFormatPrecisionException} will be thrown if the precision is a negative other than -1 or in other cases where precision is not supported.
see
java.lang.RuntimeException
since
Android 1.0

Fields Summary
private static final long
serialVersionUID
private int
p
Constructors Summary
public IllegalFormatPrecisionException(int p)
Constructs a new {@code IllegalFormatPrecisionException} with specified precision.

param
p the precision.


                                
       
        this.p = p;
    
Methods Summary
public java.lang.StringgetMessage()
Returns the message of the exception.

return
the message of the exception.

        return String.valueOf(p);
    
public intgetPrecision()
Returns the precision associated with the exception.

return
the precision.

        return p;