Java · Exceptions, files and recursion

Checked exceptions and throws

A file can go missing however careful your code is, so Java won't compile a program that opens one until you say what happens then.