Handling Errors
Operating in a network environment means errors are likely
Exception handling is explicit and flexible in Java.
try {
ss = new ServerSocket(port);
sock = ss.accept(); }
catch { IOException e) {}
Previous slide
Back to first slide
View graphic version