FileDocCategorySizeDatePackage
IllegalFormatWidthException.javaAPI DocAndroid 1.5 API1801Wed May 06 22:41:04 BST 2009java.util

IllegalFormatWidthException

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

Fields Summary
private static final long
serialVersionUID
private int
w
Constructors Summary
public IllegalFormatWidthException(int w)
Constructs a new {@code IllegalFormatWidthException} with specified width.

param
w the width.


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

return
the message of the exception.

        return String.valueOf(w);
    
public intgetWidth()
Returns the width associated with the exception.

return
the width.

        return w;