Checked exceptions include missing files that should be opened, etc. Regardless of the program malfunction, it is considered to be a situation that can occur depending on the situation, and exception handling is essential. ClassNotFondException
A subclass of the Exception class. Occurs when the class cannot be loaded. Exception handling is mandatory.
IOException A subclass of the Exception class. Occurs when using the I / O function. Exception handling is mandatory.
FileNotFoundException A subclass of the Exception class. Occurs when the target file does not exist when reading or writing to the file. Exception handling is mandatory.
Recommended Posts