日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時間:8:30-17:00
你可能遇到了下面的問題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
創(chuàng)新互聯(lián)鴻蒙OS教程:鴻蒙OSIOException

IOException

java.lang.Object

|---java.lang.Throwable

|---|---java.lang.Exception

|---|---|---java.io.IOException

public class IOException
extends Exception

表示發(fā)生了某種 I/O 異常。 此類是由失敗或中斷的 I/O 操作產(chǎn)生的一般異常類。

Since:

JDK1.0

構(gòu)造函數(shù)摘要

構(gòu)造函數(shù) 描述
IOException() 構(gòu)造一個以 null 作為其錯誤詳細(xì)消息的 IOException。
IOException(String message) 構(gòu)造一個帶有指定詳細(xì)消息的 IOException。
IOException(String message, Throwable cause) 使用指定的詳細(xì)消息和原因構(gòu)造一個 IOException。
IOException(Throwable cause) 構(gòu)造一個具有指定原因的 IOException 和 (cause==null ? null : cause.toString()) 的詳細(xì)消息(通常包含原因的類和詳細(xì)消息)。

方法總結(jié)

從類 java.lang.Object 繼承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
從類 java.lang.Throwable 繼承的方法
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

構(gòu)造函數(shù)詳細(xì)信息

IOException

public IOException()

構(gòu)造一個以 null 作為其錯誤詳細(xì)消息的 IOException。

IOException

public IOException(String message)

構(gòu)造一個帶有指定詳細(xì)消息的 IOException。

參數(shù):

參數(shù)名稱 參數(shù)描述
message 詳細(xì)消息(保存以供 Throwable.getMessage() 方法稍后檢索)

IOException

public IOException(String message, Throwable cause)

使用指定的詳細(xì)消息和原因構(gòu)造一個 IOException。

請注意,與原因關(guān)聯(lián)的詳細(xì)消息不會自動合并到此異常的詳細(xì)消息中。

參數(shù):

參數(shù)名稱 參數(shù)描述
message 詳細(xì)消息(保存以供 Throwable.getMessage() 方法稍后檢索)
cause 原因(由 Throwable.getCause() 方法保存以供以后檢索)。 (允許使用空值,表示原因不存在或未知。)

Since:

1.6

IOException

public IOException(Throwable cause)

構(gòu)造一個具有指定原因的 IOException 和 (cause==null ? null : cause.toString()) 的詳細(xì)消息(通常包含原因的類和詳細(xì)消息)。 這個構(gòu)造函數(shù)對于 IO 異常很有用,它只不過是其他 throwable 的包裝器。

參數(shù):

參數(shù)名稱 參數(shù)描述
cause 原因(由 Throwable.getCause() 方法保存以供以后檢索)。 (允許使用空值,表示原因不存在或未知。)

Since:

1.6


分享題目:創(chuàng)新互聯(lián)鴻蒙OS教程:鴻蒙OSIOException
URL標(biāo)題:http://www.5511xx.com/article/dhocpep.html