>>> On 26 Jul 2001 18:11:57 +1000,
>>> "Mike" == Mike Williams <[EMAIL PROTECTED]> wrote:
Mike> JBoss is throwing up verification errors for my EJBs, but I'm not sure
Mike> why.
Mike> +--- PromotionBean ---
Mike> | public void setAllProductFlag(java.lang.Boolean)
Mike> | throws com.cortexeb.util.exception.FieldNullException,
Mike> | com.cortexeb.ejb.promo.IllegalPromotionStateException;
Mike> +--- Promotion ---
Mike> | public abstract void setAllProductFlag(java.lang.Boolean)
Mike> | throws java.rmi.RemoteException,
Mike> | com.cortexeb.util.exception.FieldNullException,
Mike> | com.cortexeb.ejb.promo.IllegalPromotionStateException;
Mike> What am I doing wrong?
D'oh! I found the problem, and feel kinda stupid. I'm auto-generating
sub-classes for my beans using (a hacked version of) "ejbdoclet". The
sub-classed methods are needlessly adding EJBException to the
exception-list:
+--- PromotionBMP extends PromotionBean ---
| public abstract void setAllProductFlag(java.lang.Boolean)
| throws javax.ejb.EJBException,
| com.cortexeb.util.exception.FieldNullException,
| com.cortexeb.ejb.promo.IllegalPromotionStateException;
Getting rid of that EJBException will surely fix it.
--
Mike
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user