Java Clients
Exception Handling
Exception handling for Java clients for the IOM server is not significantly
different from exception handling for any other Java program. Many methods in
the stubs declare that they throw checked exceptions. When calling those
methods, you must do so in a Methods in the stubs can also throw unchecked exceptions when there is an
error related to the distributed nature of your application. For example, an
unchecked exception might be thrown when the communications subsystem fails or
when the stubs are out of date relative to the IOM objects. All of these
exceptions are subclasses of |