I am curious on the recommended way to handle errors in the Seam remoting 
calls. 

Since Java doesn't have multiple return value support it is hard to return one 
type of data (like an int) and also return error information to show to the 
user. 

I could develop some kind of special return value that is easy to parse in 
JavaScript, but that doesn't seem like a good API at all. 

I tried throwing a Java exception to see if the Seam code could handle it, but 
I got a null JavaScript exception in the process response code.

What are other people doing? Is there better support for this in 1.1 over 1.0? 

Thanks,
Andrew

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

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

Reply via email to