public class UTFDataFormatException
extends IOException
| java.lang.Object | ||||
| java.lang.Throwable | ||||
| java.lang.Exception | ||||
| java.io.IOException | ||||
| java.io.UTFDataFormatException | ||||
已经在数据输入流或任何实现数据输入接口的类中读取了格式错误的modified UTF-8格式的字符串。 请参阅DataInput类描述,了解修改后的UTF-8字符串的读写格式。
Public constructors |
|
|---|---|
UTFDataFormatException() 用 |
|
UTFDataFormatException(String s) 用指定的详细信息构造一个 |
|
继承方法(Inherited methods) |
|
|---|---|
java.lang.Throwable
|
|
java.lang.Object
|
|
UTFDataFormatException ()
用 null作为其错误详细信息构造一个 UTFDataFormatException 。
UTFDataFormatException (String s)
用指定的详细信息构造一个UTFDataFormatException 。 字符串s可以稍后由检索类的方法getMessage()java.lang.Throwable 。
| 参数(Parameters) | |
|---|---|
s |
String: the detail message. |