⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testexceptionsequence.java.txt

📁 web 程序设计 jsp简单开发 java语言基础
💻 TXT
字号:
package ch7.section7_4;

import java.io.IOException;

public class TestExceptionSequence {
	public static void main(String[] args) {
		TestExceptionSequence test = new TestExceptionSequence();
		try {
			test.method1();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
	public void method1() throws IOException {
		method2();
	}
	public void method2() throws IOException {
		method3();
	}
	public void method3() throws IOException {
		throw new IOException("IOException occur in method3");
	}
}

⌨️ 快捷键说明

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