readfile.exception.java

来自「翁剀JAVA语言那门课程的教案 很多人都看多他的视频教程可惜没有ppt的教案」· Java 代码 · 共 19 行

JAVA
19
字号
readFile {
	try {
		open the file;
		determine its size;
		allocate that much memory;
		read the file into memory;
		close the file;
	} catch ( fileOpenFailed ) {
		doSomething;
	} catch ( sizeDeterminationFailed ) {
		doSomething;
	} catch ( memoryAllocationFailed ) {
		doSomething;
	} catch ( readFailed ) {
		doSomething;
	} catch ( fileCloseFailed ) {
		doSomething;
	} 
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?