code: private IndexOutOfBoundsException wrapException(
          final IndexOutOfBoundsException cause) {
          final IndexOutOfBoundsException exc =
              new IndexOutOfBoundsException(this.message);
          exc.initCause(cause);
          return exc;
      }
docs: Wraps {@link IndexOutOfBoundsException} with custom message.
  @param cause Original exception
  @return Wrapped exception