Bugs item #626430, was opened at 2002-10-21 19:20 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=626430&group_id=22866
Category: JBossServer Group: v3.2 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Sean hager (seanhager) >Assigned to: Christian Riege (lqd) >Summary: Verifier complains about java.lang.Exception being thrown Initial Comment: 12:09:06,468 INFO [EJBDeployer] Bean : PIVItem Method : public abstract Object getParentKey() throws Exception Section: 7.10.7 Warning: The methods in the local interface must not include java.rmi.RemoteException in their throws clause. Should not issue a RemoteException warning when throwing an "Exception" In the above statement, only an Exception is being thrown not a RemoteException. If I change the exception to an EJB exception I do not get a warning. Sean. ---------------------------------------------------------------------- >Comment By: Christian Riege (lqd) Date: 2002-10-22 10:49 Message: Logged In: YES user_id=176671 matter of fact, if you change the very generic java.lang.Exception to anything else besides a RemoteException or any of its subclasses the error message will disappear. anyways, i have fixed this in the Verifier. It now explicitly allows a java.lang.Exception to be thrown on local interface methods. Although IMHO you really should use a more specific Exception ... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=626430&group_id=22866 ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v? http://www.sun.com/javavote _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
