If the file does not exist (as determined by the file open error), write the "null" state to the file.
如果该文件不存在(由文件打开错误确定),则把“null”状态写入文件。
In Listing 1, you'll find a short program that tries to open a file that is unlikely to exist and reports the error to whomever is running the program, using two different techniques.
在清单1中,您将看到一个简短程序,该程序尝试打开一个不太可能存在的文件,并使用两种不同的方法向运行该程序的用户报告错误。
Double-click the error to open persistence.xml file.
双击错误以打开persistence . xml文件。
Symptoms of one: you open a file or run a program, the hard disk load and repeated error, or effort to go through to succeed.
症状一:在你打开某一文件或运行某一程序时,硬盘反复读盘且出错,或者要经过九牛二虎之力才能成功。
An error occurred while attempting to open the Address Book file.
试图打开通讯簿文件时出错。
This function is typically used to open a specified file as one of the predefined streams: standard input, standard output, or standard error.
这个函数通常用于打开一个指定的文件使用预先定义的流:标准输入,标准输出,标准错误。
This error generally occurs when a search has been attempted with the search scope set to Current Document but no file is open.
当已执行搜索范围设置为“当前文档”的搜索,但没有打开的文件时,通常会发生此错误。
This error arises when you have attempted to open a file in the Open File dialog box or by right-clicking a file in Solution Explorer.
当尝试打开“打开文件”对话框中的某个文件,或右击解决方案资源管理器中的某个文件来打开它时,出现此错误。
Double-click any error message entry to open the file where the problem occurs, and move to the error location.
按两下任何错误讯息项目开启发生问题的档案,然后移动到错误的位置。
Double-click any error message entry to open the file where the problem occurs, and move to the error location.
按两下任何错误讯息项目开启发生问题的档案,然后移动到错误的位置。
应用推荐