code: public static void assertAssignmentQuota(final long requested, final long limit, @NotNull final Class<?> type,
              @NotNull final Class<?> parentType) {
          assertAssignmentQuota(null, requested, limit, type.getSimpleName(), parentType.getSimpleName(), null);
      }
docs: Asserts the specified assignment quota.
  
  @param requested
  The number of entities that shall be assigned to the parent
  entity.
  @param limit
  The maximum number of entities that may be assigned to the
  parent entity.
  @param type
  The type of the entities that shall be assigned.
  @param parentType
  The type of the parent entity.
  
  @throws QuotaExceededException
  if the assignment operation would cause the quota to be
  exceeded