That might be a stupid question, but from the source it seems that Toml.parse is only susceptible to throw a FileNotFoundException, not an IOException.
I understand that the later is more general than the former, but why not throwing the most precise kind?
That might be a stupid question, but from the source it seems that Toml.parse is only susceptible to throw a
FileNotFoundException, not anIOException.I understand that the later is more general than the former, but why not throwing the most precise kind?