Modified database code to throw exceptions.  Modified server to catch and log exceptions from the database.  Server now sends an Error BBResponse if an error occurs, in order to let the client know.