internal override HessianRemoteException ReadFault() { var tag = _streamReader.Read(); if (tag == 'f') { var dict = new Dictionary <object, object>(); while (!IsEnd()) { dict.Add(ReadObject(), ReadObject()); } return(HessianRemoteException.FromRawMap(dict)); } throw new UnsupportedTagException("fault", tag); }
internal override HessianRemoteException ReadFault() { var dict = (IDictionary <object, object>)ReadObject(typeof(Dictionary <object, object>)); return(HessianRemoteException.FromRawMap(dict)); }