Does anyone know the rules of how to throw and catch exception using stateless 
session bean web services that also have a remote and local interface?

I've noticed that it deploys without error if you throw Exception or 
RemoteException, although you can't throw the latter from your bean if you have 
a local interface.  It won't allow you to throw EJBException, which certainly 
does confuse how you implement CMT.

In our case, we're converting current code that runs in production in JBoss 
3.2.3 to JBoss 4.0.2.  The current code throws custom application exceptions 
that extend Exception, but wscompile chokes on these.


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

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


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to