Android
java.util
public class

java.util.IllegalFormatWidthException

java.lang.Object
java.lang.Throwable Serializable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
java.util.IllegalFormatException Serializable
java.util.IllegalFormatWidthException

The unchecked exception will be thrown out when the width is a negative other than -1, or the conversion does not support a width or other cases when the width is not supported.

Summary

Public Constructors

            IllegalFormatWidthException(int w)
Constructs a IllegalFormatWidthException with specified width.

Public Methods

          String  getMessage()
Returns the message of the exception.
          int  getWidth()
Returns the width associated with the exception.
Methods inherited from class java.lang.Throwable
Methods inherited from class java.lang.Object

Details

Public Constructors

public IllegalFormatWidthException(int w)

Constructs a IllegalFormatWidthException with specified width.

Parameters

w The width.

Public Methods

public String getMessage()

Returns the message of the exception.

Returns

  • The message of the exception.

public int getWidth()

Returns the width associated with the exception.

Returns

  • the width.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56