Adds comments for thrown exceptions to DifferenceFactory.