Exemple #1
0
 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);
     }
 }
Exemple #2
0
        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;
        }
Exemple #3
0
 protected override bool IsKnownException(Exception exception)
 {
     return(SetMoveRequestBase.IsKnownExceptionHandler(exception, new WriteVerboseDelegate(base.WriteVerbose)) || base.IsKnownException(exception));
 }