Bugs item #686611, was opened at 2003-02-14 16:13
Message generated for change (Settings changed) made by ejort
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=686611&group_id=22866

Category: JBossServer
>Group: v2.4 BETA (stable)
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: roberto (rroberto)
Assigned to: Christian Riege (lqd)
Summary: throwsRemoteException in AbstractVerifier 

Initial Comment:
According to the RMI Spec. a remote interface must 
throw a RemoteException so, I need to make sure that 
the exception thrown is either a RemoteException  or a 
class that can be assigned to RemoteException (a 
derived class).

Using 
 if( exception[i].isAssignableFrom
(java.rmi.RemoteException.class) )
this is not fully correct..

I suggest to replace with :

 if (java.rmi.RemoteException.class.isAssignableFrom
(exception[i]))


This problem occurs with 3.0.6

Thank You
Roberto


----------------------------------------------------------------------

>Comment By: Adrian Brock (ejort)
Date: 2004-08-31 13:01

Message:
Logged In: YES 
user_id=9459

According to the RMI spec (2.4.1):

"A remote method declaration must include the exception
java.rmi.RemoteException (or one of its superclasses such as
java.io.IOException or java.lang.Exception) in its throws
clause,"

----------------------------------------------------------------------

Comment By: Christian Riege (lqd)
Date: 2003-02-25 05:09

Message:
Logged In: YES 
user_id=176671

... i vaguely remember there being a reason why the test is
carried around this way (IIRC it was initially done the
other way around and changed because of some other bug).
i'll take a look at this.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=686611&group_id=22866


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to