Created a custom exception for the Database Class that the user can catch
Added a Test for that