public SystemError(NameValueCollection keyValues)
{
this.Version = keyValues[Keys.SYSTEM_VERSION];
this.PlatformId = int.Parse(keyValues[Keys.PLATFORM_TYPE]);
this.Message = keyValues[Keys.ERROR_MESSAGE];
this.StackTrace = keyValues[Keys.ERROR_STACK_TRACE];
this.Data = keyValues[Keys.DATA];
this.ApplicationId = new Guid(keyValues[Keys.APPLICATION_GUID]);
this.DeviceId = new Guid(keyValues[Keys.DEVICE_GUID]);
this.DateCreated = DateTime.Now;
this.DateCreatedOnDevice = DateTime.Parse(keyValues[Keys.DATE_CREATED]);
this.DateCreated = DateTime.Now;
this.Date = DateTime.Today;
}