?? lostmessage.java
字號:
//How an exception can lost
class AException extends Exception
{ public String toString( )
{ return "A very important exception!";}
}
class BException extends Exception
{ public String toString( )
{ return "A trivial exception";}
}
public class LostMessage
{ void f( ) throws AException
{ throw new AException( );}
void dispose( ) throws BException
{ throw new BException( );}
public static void main(String args[ ]) throws Exception
{ LostMessage lm=new LostMessage( );
try
{ lm.f( );}
finally
{ lm.dispose( );}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -