public IConstraints4 Create(
            ImmutableList <IConstraints4ConstraintElement> value)
        {
            IConstraints4 constraint = null;

            try
            {
                constraint = new Constraints4(
                    value);
            }
            catch (Exception exception)
            {
                this.Log.Error("Exception message: " + exception.Message + " and stacktrace " + exception.StackTrace);
            }

            return(constraint);
        }
        public IConstraints4 Create(
            ImmutableList <IConstraints4ConstraintElement> value)
        {
            IConstraints4 constraint = null;

            try
            {
                constraint = new Constraints4(
                    value);
            }
            catch (Exception exception)
            {
                this.Log.Error(
                    exception.Message,
                    exception);
            }

            return(constraint);
        }