This should probably be `} catch (final Exception e) {` because we're doing the same thing regardless of the exception. Also the existing code will fail on a NullPointerException and that'd be caught by the more general `Exception` class.