Thank you very, chiba for your response. I used {return;} and it works. But if 
there are methods with non-void return types then {return;} is not enough. 
Therefore I used (within my addCatch) {Object result; return ($r)result;}. But 
I get the following javassist compiler error:
==============================================

javassist.CannotCompileException: [source error] no such class: $r
        at javassist.CtBehavior.addCatch(CtBehavior.java:722)
        at javassist.CtBehavior.addCatch(CtBehavior.java:670)

==============================================

It seems that the javassist compiler doesn't recognize $r. Is it not allowed to 
use $r in the addCatch? Or do I do something wrong?

Thanks in advance

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858187#3858187

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858187


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to