internal MessageMarketSubscriptionFailure(Subscription sub)
     : base(new Name("SubscriptionFailure"), sub.CorrelationID, null)
 {
     this._correlationId = sub.CorrelationID;
     this._topicName = sub.Security;
     this._reason = new ElementMarketReason(ElementMarketReason.ReasonTypeEnum.badSecurity);
 }
 public ElementMarketExceptions(string badField)
 {
     this._fieldId = new ElementMarketString("fieldId", badField);
     this._reason = new ElementMarketReason(ElementMarketReason.ReasonTypeEnum.badField);
 }