Please remind yourself of
this; you have introduced all sorts of interesting errors into that code.
No, you did not say which SCJP book that code came from; you only said “SCJP”. Is it Sierra and Bates?
As for the Exception
Earlier, I wrote: . . . please tell us what sort of Exception you can expect
You heard it first on this channel