if (download != null && onXferReceived != null)
{
download.Success = false;
download.Error = TransferError.get(abort.XferID.Result);
try { onXferReceived.raiseEvent((new XferReceivedEventArgs(download))); }
catch (Exception ex) { JLogger.error(ex); }
}
}