private void TranslateException(XmlaError innerError)
        {
            AdomdError error = new AdomdError(innerError);

            if (this.errors == null)
            {
                this.errors = new AdomdErrorCollection();
            }
            this.errors.Add(error);
        }
 private void TranslateException(XmlaException innerException)
 {
     foreach (XmlaResult xmlaResult in ((IEnumerable)innerException.Results))
     {
         foreach (XmlaMessage xmlaMessage in ((IEnumerable)xmlaResult.Messages))
         {
             if (xmlaMessage is XmlaError)
             {
                 AdomdError error = new AdomdError((XmlaError)xmlaMessage);
                 if (this.errors == null)
                 {
                     this.errors = new AdomdErrorCollection();
                 }
                 this.errors.Add(error);
             }
         }
     }
 }
 internal Enumerator(AdomdErrorCollection errors)
 {
     this.enumer = errors.errors.GetEnumerator();
 }
 private AdomdErrorResponseException(SerializationInfo info, StreamingContext context) : base(info, context)
 {
     this.errors = (AdomdErrorCollection)info.GetValue("Errors", typeof(AdomdErrorCollection));
 }