p. 349: In the main()
method, "if (args.length >= 2)
" should be
"if (args.length > 2)
".
p. 358: At the end of example 10-8, the variable e
should be ex
. That is, the last catch
block should read:
catch (IOException ex) {
System.out.println("Server could not start because of an "
+ ex.getClass());
System.out.println(ex);
}