新聞中心
InterruptedIOException

成都創(chuàng)新互聯(lián)公司專(zhuān)業(yè)為企業(yè)提供吉安網(wǎng)站建設(shè)、吉安做網(wǎng)站、吉安網(wǎng)站設(shè)計(jì)、吉安網(wǎng)站制作等企業(yè)網(wǎng)站建設(shè)、網(wǎng)頁(yè)設(shè)計(jì)與制作、吉安企業(yè)網(wǎng)站模板建站服務(wù),十年吉安做網(wǎng)站經(jīng)驗(yàn),不只是建網(wǎng)站,更提供有價(jià)值的思路和整體網(wǎng)絡(luò)服務(wù)。
java.lang.Object
|---java.lang.Throwable
|---|---java.lang.Exception
|---|---|---java.io.IOException
|---|---|---|---java.io.InterruptedIOException
public class InterruptedIOException
extends IOException表示 I/O 操作已被中斷。 拋出 InterruptedIOException 以指示輸入或輸出傳輸已終止,因?yàn)閳?zhí)行它的線(xiàn)程被中斷。 字段 bytesTransferred 指示在中斷發(fā)生之前成功傳輸了多少字節(jié)。
Since:
JDK1.0
字段摘要
| 修飾符和類(lèi)型 | 字段 | 描述 |
|---|---|---|
| int | bytesTransferred | 報(bào)告在中斷之前作為 I/O 操作的一部分傳輸了多少字節(jié)。 |
構(gòu)造函數(shù)摘要
| 構(gòu)造函數(shù) | 描述 |
|---|---|
| InterruptedIOException() | 構(gòu)造一個(gè)帶有 null 作為其錯(cuò)誤詳細(xì)消息的 InterruptedIOException。 |
| InterruptedIOException(String s) | 構(gòu)造帶有指定詳細(xì)消息的 InterruptedIOException。 |
方法總結(jié)
| 從類(lèi) java.lang.Object 繼承的方法 |
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 從類(lèi) java.lang.Throwable 繼承的方法 |
|---|
| addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
字段詳細(xì)信息
bytesTransferred
public int bytesTransferred
報(bào)告在中斷之前作為 I/O 操作的一部分傳輸了多少字節(jié)。
構(gòu)造函數(shù)詳細(xì)信息
InterruptedIOException
public InterruptedIOException()
構(gòu)造一個(gè)帶有 null 作為其錯(cuò)誤詳細(xì)消息的 InterruptedIOException。
InterruptedIOException
public InterruptedIOException(String s)
構(gòu)造帶有指定詳細(xì)消息的 InterruptedIOException。 字符串 s 可以稍后通過(guò) java.lang.Throwable 類(lèi)的 Throwable.getMessage() 方法檢索。
參數(shù):
| 參數(shù)名稱(chēng) | 參數(shù)描述 |
|---|---|
| s | 詳細(xì)信息。 |
網(wǎng)頁(yè)題目:創(chuàng)新互聯(lián)鴻蒙OS教程:鴻蒙OSInterruptedIOException
本文來(lái)源:http://m.5511xx.com/article/cocdsej.html


咨詢(xún)
建站咨詢(xún)
