Diego,
Welcome to CodeRanch! That question looks like it is from my book (Sybex.)
D is that the code doesn't compile. Which it doesn't. So the fact that it would throw an exception if it did compile never comes up. Code has to compile for runtime errors to be a problem.