📄 throwit.java
字号:
// Test to see if throw works.public class throwit{ static { System.loadLibrary ("throwit"); } public static native void throwit (String name, boolean is_new); public static void main (String[] args) { try { throwit ("java/lang/UnknownError", false); } catch (Throwable x) { System.out.println (x.getClass ()); System.out.println (x.getMessage ()); } try { throwit ("java/lang/Throwable", true); } catch (Throwable x) { System.out.println (x.getClass ()); System.out.println (x.getMessage ()); } }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -