Ejemplo n.º 1
0
 internal FieldError(InvalidRequestException outerInstance, IDictionary <string, object> data)
 {
     this.errorCode = (string)data["code"];
     this.fieldName = (string)data["field"];
     this.message   = (string)data["message"];
 }
 /// <summary>
 /// Constructs a <code>FieldError</code> object using the specified data. </summary>
 /// <param name="data"> a map containing <code>String</code> values for the keys <code>"code"</code>,
 ///             <code>"field"</code> and <code>"message"</code>. </param>
 internal FieldError(InvalidRequestException outerInstance, IDictionary <String, Object> data)
 {
     errorCode = (string)data["code"];
     fieldName = (string)data["field"];
     message   = (string)data["message"];
 }