Assuming that WriteConcern is an Enum, will it ever be null? Surely if processingWriteConcern isn't a valid WriteConcern, it'll throw an IllegalArgumentException?