O'Reilly logo

JavaBeans Unleashed by Rick Leinecker, Dr. Donald Doherty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required