18
Task
Java Collections,  level 8lesson 6
Locked
Exception factory
Create an exception factory class that has a single static method that returns the required exception. This method should accept one enum argument. Do the following for each of these enums: * ApplicationExceptionMessage: return an Exception; * DatabaseExceptionMessage: return a RuntimeException.
10
Task
Java Collections,  level 8lesson 6
Locked
Improvements in Java 7 (multiple exceptions)
Rewrite the implementations of the Solution class's methods. Use Java 7's new ability to handle multiple exceptions.
10
Task
Java Collections,  level 8lesson 6
Locked
Improvements in Java 7 (try-with-resources)
Rewrite the implementations of the Solution class's methods. Use the new exception handling feature (try-with-resources) that has been added to Java 7.