
It’s Friday crosswords time! A tiny puzzle to help you better remember core Java exceptions APIs — and become a more cognizant Java developer.
Use the picture attached to fill it in, or play online here: https://crosswordlabs.com/view/java-exceptions-2 .
Across
2. – Checked: Thrown when attempting to open a non-existent file.
4. – Unchecked: Arithmetic error, like division by zero.
5. – Unchecked: Invalid method parameter passed
6. – Unchecked: Dereferencing a null reference.
7. – Checked: Requested method does not exist (common in reflection).
8. – Unchecked: Invalid casting between incompatible types
9. – Checked: File or stream operations, often used in try-with-resources.
Down
1. – Unchecked: Specifically for arrays.
3. – Unchecked: Failed conversion from string to number (e.g., "abc" to int).
🗣️ "Exceptions are, as their name implies, to be used only for exceptional conditions; they should never be used for ordinary control flow." --Joshua Bloch
#Java #JavaExceptions #ExceptionHandling #CheckedException #UncheckedException #RuntimeException #trycatch #throwable #ErrorHandling #CleanCode #BestPractices #SoftwareCraft #JavaDeveloper #CodeQuality #BugHunting