Only RemoteException or its subclasses should be flagged as errors. There
is nothing wrong with a local interface throwing a checked Exception.

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx

----- Original Message ----- 
From: "Dain Sundstrom" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 21, 2003 5:42 PM
Subject: [JBoss-dev] Verifier problems


> I'm working on fixing the exception tests and I have run into a problem 
> with the verifier.  I am getting the following warning that is causing 
> the deployment to fail:
> 
> Bean   : ExceptionTesterEJB
> Method : public abstract void ejbExceptionInStore() throws Exception
> Section: 7.10.7
> Warning: The methods in the local interface must not include 
> java.rmi.RemoteException in their throws clause.
> 
> I don't think they wanted to exclude 'throws Exception' from a 
> declaration.  This is really a grey area of the spec.
> 
> Who is maintaining this code?  What do you think?
> 
> -dain



-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to