MetLife interview question

Deprecated JDBC and exceptional handling