add exception handler for unexpected db access exceptions