Make the EventImmutable constructor throwing an exception