| 
 | JavaTM 2 Platform Standard Ed. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
java.io.UTFDataFormatException
public class UTFDataFormatException
在数据输入流中或由实现该数据输入接口的任何类中以 UTF-8 修改版格式读取错误字符串时,抛出此异常。有关读取和写入 UTF-8 修改版字符串的格式,请参阅 DataInput 类的描述。
DataInput, 
DataInputStream.readUTF(java.io.DataInput), 
IOException, 
序列化表格| 构造方法摘要 | |
|---|---|
| UTFDataFormatException()构造用 null作为其错误详细消息的UTFDataFormatException。 | |
| UTFDataFormatException(String s)构造带有指定详细消息的 UTFDataFormatException。 | |
| 方法摘要 | 
|---|
| 从类 java.lang.Throwable 继承的方法 | 
|---|
| fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | 
| 从类 java.lang.Object 继承的方法 | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| 构造方法详细信息 | 
|---|
public UTFDataFormatException()
null 作为其错误详细消息的 UTFDataFormatException。
public UTFDataFormatException(String s)
UTFDataFormatException。然后可以通过 java.lang.Throwable 类的 Throwable.getMessage()s。
s - 详细消息。| 
 | JavaTM 2 Platform Standard Ed. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only。