?? exceptionstacktest.java
字號(hào):
/**
*Exception Call Stack Sample
*/
package sample;
public class ExceptionStackTest {
public void a() throws Exception{
b();
}
public void b() throws Exception{
c();
}
public void c() throws Exception{
throw new Exception();
}
public static void main(String[] args) {
ExceptionStackTest est = new ExceptionStackTest();
try{
est.a();
}catch(Exception e){
e.printStackTrace();
}
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -