What will happen is the same thing that happened before, a stack trace followed by the application exiting. If you think that's a bad solution, you can discuss changing it, but that's not my responsibility as part of this refactoring.