| 
JavaTM Platform Standard Ed. 6  | 
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
java.util.IllegalFormatException
java.util.IllegalFormatWidthException
public class IllegalFormatWidthException
当格式宽度为除 -1 以外的负值或其他不受支持的值时,将抛出未经检查的异常。
| 构造方法摘要 | |
|---|---|
IllegalFormatWidthException(int w)
构造带有指定宽度的此类的一个实例。  | 
|
| 方法摘要 | |
|---|---|
 String | 
getMessage()
返回此 throwable 的详细消息字符串。  | 
 int | 
getWidth()
返回宽度。  | 
| 从类 java.lang.Throwable 继承的方法 | 
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | 
| 从类 java.lang.Object 继承的方法 | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| 构造方法详细信息 | 
|---|
public IllegalFormatWidthException(int w)
w - 宽度。| 方法详细信息 | 
|---|
public int getWidth()
public String getMessage()
Throwable 复制的描述
Throwable 中的 getMessage
  | 
JavaTM Platform Standard Ed. 6  | 
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。