added consumeException flag