who can explain such question about RuntimeException in ejb mehtod or no-ejb mehod. code below: public boolean method_name() { try { throw new Exception(); } catch(Exception e) { throw new RuntimeException(); } return true; }
I found if it's no-ejb's method, compile error message is "statement 'return true;' not reachable"�� but when it's ejb's method,compile pass!? thanks view.
liang sun
Ranch Hand
Joined: May 12, 2001
Posts: 51
posted
0
can no one explain?!!
subject: RuntimeException in ejb mehtod or no-ejb mehod.