code: @Override
      public WsByteBuffer limit(int newLimit) {
          if (isFCEnabled()) {
              String errorMsg = null;
              if (newLimit > fcSize) {
                  errorMsg = "Requested value for the WsByteBuffer limit was greater than the capacity";
              } else if (newLimit < 0) {
                  errorMsg = "Requested value for the WsByteBuffer limit was less than 0";
              }
              if (errorMsg != null) {
                  IllegalArgumentException iae = new IllegalArgumentException(errorMsg);
                  if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                      Tr.debug(tc, errorMsg);
                  }
                  FFDCFilter.processException(iae, CLASS_NAME + ".limit(int)", "625", this);
                  throw iae;
              }
              // set our FC limit
              this.fcLimit = newLimit;
              return this;
          }
          return super.limit(newLimit);
      }
docs: /*
  @see com.ibm.ws.bytebuffer.internal.WsByteBufferImpl#limit(int)