Title: New error...

I just went from version 2.2.6 to 2.2.7, and these are the errors I'm now getting when I run GenIC:

------------------------------------------------------------------------------------------
./medinex/server/entitybean/JOnASMDXAccountingCodeBean.java:61: unreported exception javax.ejb.DuplicateKeyException; must be caught or declared to be thrown

        throw new javax.ejb.DuplicateKeyException(pk.toString());
        ^

./medinex/server/entitybean/JOnASMDXAccountingCodeBean.java:85: unreported exception javax.ejb.CreateException; must be caught or declared to be thrown

        throw new javax.ejb.CreateException(e.toString());
        ^

./medinex/server/entitybean/JOnASMDXAccountingCodeBean.java:323: unreported exception javax.ejb.RemoveException; must be caught or declared to be thrown

        throw new javax.ejb.RemoveException(e.toString());
        ^
-------------------------------------------------------------------------------------------
Do I need to change my methods in the bean? (e.g. from "public MDXAccountingCodeKey ejbCreate(...)" to "public MDXAccountingCodeKey ejbCreate(...) throws {exception}")  This hasn't been an issue in the past...  The thing that baffles me is that it's generated code that javac is taking issue with...

Any help would be greatly appreciated.

___________________________________________________________
Walt Skidmore
Java Developer
888-580-1010 x139
___________________________________________________________

Reply via email to