library/common/src/main/java/com/google/android/exoplayer2/ExoPlaybackException.java
/**
   * Returns a copy of this exception with the provided {@link MediaPeriodId}.
   *
   * @param mediaPeriodId The {@link MediaPeriodId}.
   * @return The copied exception.
   */
Returns a copy of this exception with the provided  MediaPeriodId.
Returns a copy of this exception with the provided MediaPeriodId .
@CheckResult
  /* package */ ExoPlaybackException copyWithMediaPeriodId(@Nullable MediaPeriodId mediaPeriodId) {
    return new ExoPlaybackException(
        getMessage(),
        cause,
        type,
        rendererName,
        rendererIndex,
        rendererFormat,
        rendererFormatSupport,
        mediaPeriodId,
        timeoutOperation,
        timestampMs,
        isRecoverable);
  }
@ CheckResult /* package */ ExoPlaybackException copyWithMediaPeriodId ( @ Nullable MediaPeriodId mediaPeriodId ) { return new ExoPlaybackException ( getMessage ( ) , cause , type , rendererName , rendererIndex , rendererFormat , rendererFormatSupport , mediaPeriodId , timeoutOperation , timestampMs , isRecoverable ) ; }
Returns a copy of this exception with the provided {@link MediaPeriodId}.
Returns a copy of this exception with the provided { @link MediaPeriodId } .