RMI Exceptions

You may have noticed that a number of exceptions were caught in the two programs you created. You'll have to be careful in your programming that you catch and handle them correctly. Table 18.2 contains the RMI exceptions and will be a valuable reference when you get down to programming with RMI.

Table 18.2. Exception Summary
Exception Summary
AccessException An AccessException is thrown by certain methods of the java.rmi.Naming class (specifically bind, rebind, and unbind) and methods of the java.rmi.activation.ActivationSysteminterface to indicate that the caller does not have permission to perform the action requested by the method call.
AlreadyBoundException An AlreadyBoundException is thrown if an attempt is made to bind an ...

Get JavaBeans Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.