Classes that require exception handling

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

Classes that require exception handling
Exception handling
Exception handling Exception
Java exception handling?
About exception handling
ruby exception handling
Ruby exception handling
[Java] Exception handling
☾ Java / Exception handling
Java exception handling
Java exception handling
About Ruby exception handling
Exception handling practice (ArithmeticException)
[Ruby] Exception handling basics
Spring Boot exception handling
Java's first exception handling (memories)
[Java] Practice of exception handling [Exception]
[Java] About try-catch exception handling
[Ruby] Exception handling in functions
Java exception handling usage rules
Exception handling techniques in Java
[In-house study session] Java exception handling (2017/04/26)
[Rails] How to write exception handling?
Exception handling with a fluid interface
Step-by-step understanding of Java exception handling
[For Java beginners] About exception handling
[Ruby] Summary of exception classes that appear in error statements [Meaning of NameError]