modified DBManager to throw DBNotSetExceptions