EJB impklementation beans marked as invalid

HI,

I have beans which implement the EntityBean or SessionBean interfaces. A lot of the implemented methods are declared as follows:

public void ejbFoo() throws RemoteException, EjbException {
}

i.e. the methods are empty. The interface requires this definition, yet IDEA flags such mthods as containing erros (ejbFoo shouldn't throw *****Exception).

Is this normal or is it a bug?

L

0

请先登录再写评论。