This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Relationship between java.rmi.RemoteException and java.rmi.Remote Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Relationship between java.rmi.RemoteException and java.rmi.Remote" Watch "Relationship between java.rmi.RemoteException and java.rmi.Remote" New topic
Author

Relationship between java.rmi.RemoteException and java.rmi.Remote

Sudarshan Sreenivasan
Ranch Hand

Joined: Jun 28, 2007
Posts: 188

Hi,

The methods of the business interface may only throw the
java.rmi.RemoteException if the interface extends java.rmi.Remote.


The above is what the spec states.

I want to know the reason behind this statement.Why is it not possible or desirable to allow a method to throw a RemoteException if the interface does not extend java.rmi.Remote.

This maybe coming across as unclever , however I am just a little curious :roll:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Relationship between java.rmi.RemoteException and java.rmi.Remote
 
Similar Threads
Declare to throw RemoteException
Answers of Sun's Free Proficiency Assessment
Exceptions
Mock question about Interfaces and Exceptions
is it compulsory to throw remote exception?.