code: protected void validateNonRecursive(StringBuilder source) {
  
      if (getMinimumLength() < 0) {
        source.append(".length");
        throw new NlsIllegalArgumentException(Long.valueOf(getMinimumLength()), source.toString());
      }
      if (getMaximumLength() < getMinimumLength()) {
        source.append(".maxLength");
        throw new NlsIllegalArgumentException(Long.valueOf(getMaximumLength()), source.toString());
      }
    }
docs: This method validates this segment to ensure the correctness of the configured format. <br>
  <b>ATTENTION:</b><br>
  This method does NOT perform a recursive validation of potential {@link SegmentContainer#getSegment(int)
  sub-segments}.
  
  @param source describes the source of the validation.