Hi,

In the testsuite, in the JCA test, the verifier warns:
  2002-08-19 16:51:14,760 WARN  [org.jboss.ejb.EJBDeployer.verifier] EJB spec 
violation: 
  Bean   : Teller
  Method : public abstract Account createAccount(Integer) throws RemoteException
  Section: 7.10.5
  Warning: All the exceptions defined in the throws clause of the matching method of 
the session bean    class must be defined in the throws clause of the method of the
remote interface.

Reason for this is that the Teller implementation declares
EJBException to be thrown from this method.
The remote interface is generated by EJBDoclet, and EJBDoclet
does not declare EJBException to be thrown there, since it
is not needed to declare a RuntimeException.

Fixing that problem is trivial, but:
I wonder if the verifier is too restrictive here, and if it
would be better if the verifier ignored all Throwable that
do not need to be declared before comparing declared
exceptions.

What do you think?


Best Regards,

Ole Husgaard.


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to