Use Exceptions to handle Database errors