Hello Roman,EJB 1.x class method throwing RemoteException will be marked as warningsince build #637Thank you for report--regards,Alexey Kudravtsev.JetBrains, Inchttp://www.intellij.com"Develop with pleasure!"PS Could you please post EJB related messages to the j2ee group ?"Roman Elizarov" <email@example.com> wrote in messagenews:firstname.lastname@example.org...
Please, make the highlighting of EJB-specific errors customizable. I'mparticulary worried by the "throws RemoteException" being highlighted as
error by IDEA. We have EJB 1.1 code where this is legal (even thoughdeprecated) and I don't like to see it's being highlighted as an error inall my business methods. I'd like to be able to turn off highlighting ofthis specific error (which is not an error in EJB 1.1 !!!)
Hello Roman,EJB 1.x class method throwing RemoteException will be marked as warningsince build #637
That is much better. But even better is to have an option to turn evenwarning off, because we have no way to elegantly get rid of those buggingwarnings/errors:In EJB 1.x Local interfaces does not exist, thus you have to always callother beans via remote interfaces that throw RemoteException. If we writecode to catch and wrap those remote exceptions everywhere, our code willsimply look ugly. We don't want to do that. There's no other way to writeelegant EJB 1.x beans as to declare their business methods to throwRemoteException.Roman Elizarov
Please sign in to leave a comment.