加载中...
The Wayback Machine - https://sup1a9wrlpyh5li9ro.vcoronado.top/web/20090218032445/http://developer.android.com:80/reference/java/util/IllegalFormatWidthException.html
public class

IllegalFormatWidthException

extends IllegalFormatException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ java.lang.IllegalArgumentException
           ↳ java.util.IllegalFormatException
             ↳ java.util.IllegalFormatWidthException

Class Overview

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.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

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.