protected override void TranslateException(ref Exception e, out ErrorCategory category) { base.TranslateException(ref e, out category); ErrorCategory exceptionErrorCategory = (ErrorCategory)RecipientTaskHelper.GetExceptionErrorCategory(e); if (exceptionErrorCategory != ErrorCategory.NotSpecified) { category = exceptionErrorCategory; return; } category = (ErrorCategory)DataAccessHelper.ResolveExceptionErrorCategory(e); }