JBoss is throwing up verification errors for my EJBs, but I'm not sure
why.  Here's an example error:

   [Verifier] 
   Bean   : Promotion
   Method : public abstract void setAllProductFlag(Boolean) throws RemoteException, 
FieldNullException, IllegalPromotionStateException
   Section: 9.2.7
   Warning: All the exceptions defined in the throws clause of a matching method in 
the entity bean's class must be defined in the throws clause of the method of the 
remote interface.

However, as far as I can see, they are:

    +--- PromotionBean ---
    | public void setAllProductFlag(java.lang.Boolean) 
    |     throws com.cortexeb.util.exception.FieldNullException, 
    |            com.cortexeb.ejb.promo.IllegalPromotionStateException;

    +--- Promotion ---
    | public abstract void setAllProductFlag(java.lang.Boolean) 
    |     throws java.rmi.RemoteException, 
    |            com.cortexeb.util.exception.FieldNullException, 
    |            com.cortexeb.ejb.promo.IllegalPromotionStateException;

What am I doing wrong?

-- 
Mike


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to