internal void ValidateMoveRequestProtectionStatus(RequestJobBase moveRequest) { if (moveRequest.Protect && SetMoveRequestBase.CheckUserOrgIdIsTenant(base.ExecutingUserOrganizationId)) { base.WriteError(new RecipientTaskException(Strings.ErrorMoveRequestIsProtected(this.DataObject.ToString())), ErrorCategory.InvalidArgument, this.Identity); } }
protected override void TranslateException(ref Exception e, out ErrorCategory category) { LocalizedException ex = SetMoveRequestBase.TranslateExceptionHandler(e); if (ex == null) { ErrorCategory errorCategory; base.TranslateException(ref e, out errorCategory); category = errorCategory; return; } e = ex; category = ErrorCategory.ResourceUnavailable; }
protected override bool IsKnownException(Exception exception) { return(SetMoveRequestBase.IsKnownExceptionHandler(exception, new WriteVerboseDelegate(base.WriteVerbose)) || base.IsKnownException(exception)); }