I ended up creating a special return class that can hold a value as well as 
return an exception to the client caller, but I would be nice to be able to 
have this automatically wrapped. I tried a custom annotation and interceptor on 
my @WebRemote method that would catch exceptions and change the return type to 
my custom object, but my interceptor was never called.



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989373
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to