filenotfoundexception must be caught or declared to be thrown code example Example: IOException; must be caught or declared to be IOException; must be caught or declared to be