Intermediate

Exceptions, I/O and Reflection

The parts of the standard library a backend leans on.

Checked versus unchecked exceptions as a design question, try-with-resources, the exception hierarchy a service should have, files and streams in NIO, and annotations and reflection — the machinery under every framework you use.

6 lessons written2 modules~1h reading

After this course you can

  • Design an exception hierarchy for a service and know what to catch where
  • Use try-with-resources correctly and explain suppressed exceptions
  • Read and write files with NIO without leaking handles
  • Explain what Spring does with reflection and annotations, and what it costs

Curriculum

6 lessons · outlined lessons show their plan