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.
|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 ...|