• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Sudarshan Sreenivasan
Ranch Hand
Posts: 188
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic