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

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

新聞中心

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

FileNotFoundException

java.lang.Object

|---java.lang.Throwable

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

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

|---|---|---|---java.io.FileNotFoundException

public class FileNotFoundException
extends IOException

表示嘗試打開由指定路徑名表示的文件失敗的信號。

當具有指定路徑名的文件不存在時,F(xiàn)ileInputStream、FileOutputStream 和 RandomAccessFile 構造函數(shù)將引發(fā)此異常。 如果文件確實存在但由于某種原因不可訪問,例如當試圖打開只讀文件進行寫入時,這些構造函數(shù)也會拋出它。

Since:

JDK1.0

構造函數(shù)摘要

構造函數(shù) 描述
FileNotFoundException() 構造一個以 null 作為其錯誤詳細消息的 FileNotFoundException。
FileNotFoundException(String s) 使用指定的詳細消息構造 FileNotFoundException。

方法總結

從類 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

構造函數(shù)詳細信息

FileNotFoundException

public FileNotFoundException()

構造一個以 null 作為其錯誤詳細消息的 FileNotFoundException。

FileNotFoundException

public FileNotFoundException(String s)

使用指定的詳細消息構造 FileNotFoundException。 字符串 s 可以稍后通過 java.lang.Throwable 類的 Throwable.getMessage() 方法檢索。

參數(shù):

參數(shù)名稱 參數(shù)描述
s 詳細信息。

分享名稱:創(chuàng)新互聯(lián)鴻蒙OS教程:鴻蒙OSFileNotFoundException
標題路徑:http://m.5511xx.com/article/cccjhge.html