I have a class : MyApplicationExceptionBase extends Exception that I use in my code ,
In the EJB3 stateless remote interface I have declared | public MyData getData(int key, String user) throws MyApplicationExceptionBase ... | | | And in the Stateless implementation class I have declared | | @WebMethod | public MyData getData(int key, String user) throws MyApplicationExceptionBase ... | | This the Jboss4.0.4.GA have problems to deploy Only If I use an IOException or IOException inheritance like RemoteException I'm able to deploy with no errors Prier to the EJB3 and POJO the service endpoint interface must conform to a few rules: * It extends the java.rmi.Remote interface. * It must not have constant declarations, such as public final static. * The methods must throw the java.rmi.RemoteException or one of its subclasses. (The methods may also throw service-specific exceptions.) * Method parameters and return types must be supported JAX-RPC types (see Types Supported by JAX-RPC). but with EJB3 and POJO the RemoteException is optional , And the methods may also throw service-specific exceptions Is this a bug in BossWS-1.0.0.GA release ? or am I missing something? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948272#3948272 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948272 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
