private OrganizationValidationException CreateAndLogValidationException(Exception exception)
        {
            var organizationValidationException = new OrganizationValidationException(exception);

            //LOG
            return(organizationValidationException);
        }
        private void WriteWrappedError(Exception exception, ErrorCategory category, object target)
        {
            OrganizationValidationException exception2 = new OrganizationValidationException(Strings.ErrorValidationException(exception.ToString()), exception);

            base.WriteError(exception2, category, target);
        }