Revise exception raising in addcomment pipe

Use DataProcessorError instead of Warning