public long getEndOffset() {
    throw new UnsupportedOperationException("Cannot get end offset for range type: " + getType());
  }
@return The inclusive end offset for this range.
@throws UnsupportedOperationException if the range does not have a defined start offset
                                      (i.e. not of the type {@link ByteRangeType#OFFSET_RANGE})
ambry-api/src/main/java/com/github/ambry/router/ByteRange.java