Skip to content

Which exception should this be?

A method reads a configuration file. Two things can go wrong: the file is missing, and the caller passed a null path.

Which should be checked and which unchecked?