- java.lang.Object
 -  
      
- java.lang.Throwable
 -  
        
- java.lang.Exception
 -  
          
- java.io.IOException
 -  
            
- java.io.UTFDataFormatException
 
 
 
 
 
-  
       
- 实现的所有接口
 -  
         
Serializable 
public class UTFDataFormatException extends IOException
表示已在数据输入流中或由实现数据输入接口的任何类读取modified UTF-8格式的格式错误的字符串。 有关读取和写入已修改的UTF-8字符串的格式,请参阅DataInput类说明。- 从以下版本开始:
 - 1.0
 - 另请参见:
 -  
         
DataInput,DataInputStream.readUTF(java.io.DataInput),IOException, Serialized Form 
 
-  
        
       
-  
             
构造方法摘要
构造方法 构造器 描述 UTFDataFormatException()构造一个UTFDataFormatException其中包含null作为其错误详细消息。UTFDataFormatException(String s)使用指定的详细消息构造一个UTFDataFormatException。 
-  
             
方法摘要
 
 -  
             
 
-  
        
       
-  
             
构造方法详细信息
-  
UTFDataFormatException
public UTFDataFormatException()
构造一个UTFDataFormatException其中包含null作为其错误详细消息。 
-  
UTFDataFormatException
public UTFDataFormatException(String s)
使用指定的详细消息构造UTFDataFormatException。s可以通过类java.lang.Throwable的方法检索字符串Throwable.getMessage()java.lang.Throwable。- 参数
 -  
              
s- 详细信息。 
 
 -  
 
 -