public void validateWhenAllAttributesAreSet(boolean isDeclarative) {
    if (colocatedRegionName != null) {
      if (fixedPAttrs != null) {
        throw new IllegalStateException(
            String.format(
                "FixedPartitionAttributes %s can not be specified in PartitionAttributesFactory if colocated-with is specified. ",
                fixedPAttrs));
      }
    }
    if (fixedPAttrs != null) {
      if (localMaxMemory == 0) {
        throw new IllegalStateException(
            String.format("FixedPartitionAttributes %s can not be defined for accessor",
                fixedPAttrs));
      }
    }
  }
This validation should only be done once the region attributes that owns this pa is ready to be
created. Need to do it this late because of bug 45749.
geode-core/src/main/java/org/apache/geode/internal/cache/PartitionAttributesImpl.java