1 // Test to see if throw works.
7 System
.loadLibrary ("throwit");
10 public static native void throwit (String name
, boolean is_new
);
12 public static void main (String
[] args
)
16 throwit ("java/lang/UnknownError", false);
20 System
.out
.println (x
.getClass ());
21 System
.out
.println (x
.getMessage ());
25 throwit ("java/lang/Throwable", true);
29 System
.out
.println (x
.getClass ());
30 System
.out
.println (x
.getMessage ());