Hmm, it seems a value which doesn't fit onto the enum should be an exception, not quietly converted to a null.