Try catch


Source code

1class TryCatch {
2
3 void m(Object obj) {
4 try {
5 obj.hashCode();
6 } catch (Exception e) {
7 e.getMessage();
8 }
9 }
10
11}

Bytecode



Java compiler version: 21
Other examples
Main page