Title: RE: [JBoss-user] can you explain these verification errors?

Mike,

If you look at PromotioBean it does not have the java.rmi.RemoteException in the throws clause.

Paul

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mike
Williams
Sent: 26 July 2001 09:12
To: [EMAIL PROTECTED]
Subject: [JBoss-user] can you explain these verification errors?


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