|
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。