|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
javax.imageio.IIOException
public class IIOException
該異常類別用於發出關於讀取和寫入操作的運行時故障的信號。
除了訊息字元串以外,也維護對另一個 Throwable(Error 或 Exception)的參考。此參考(如果為非 null)參考導致此異常發生的事件。例如,從 File 中進行讀取時發生的 IOException 將存儲在這裡。
| 建構子摘要 | |
|---|---|
IIOException(String message)
建構帶有給定訊息 String 的 IIOException。 |
|
IIOException(String message,
Throwable cause)
建構一個 IIOException,使其帶有給定訊息 String 以及作為其底層 cause 的 Throwable。 |
|
| 方法摘要 |
|---|
| 從類別 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 IIOException(String message)
String 的 IIOException。沒有設置任何底層 cause;getCause 將返回 null。
message - 錯誤訊息。Throwable.getMessage()
public IIOException(String message,
Throwable cause)
IIOException,使其帶有給定訊息 String 以及作為其底層 cause 的 Throwable。
message - 錯誤訊息。cause - 造成此異常發生的 Throwable(Error 或 Exception)。Throwable.getCause(),
Throwable.getMessage()
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。