library/common/src/main/java/com/google/android/exoplayer2/ExoPlaybackException.java
/**
   * Creates an instance of type {@link #TYPE_TIMEOUT}.
   *
   * @param cause The cause of the failure.
   * @param timeoutOperation The operation that caused this timeout.
   * @return The created instance.
   */
Creates an instance of type  #TYPE_TIMEOUT.
@param cause The cause of the failure.
@param timeoutOperation The operation that caused this timeout.
@return The created instance.
Creates an instance of type #TYPE_TIMEOUT . @param cause The cause of the failure . @param timeoutOperation The operation that caused this timeout . @return The created instance .
public static ExoPlaybackException createForTimeout(
      TimeoutException cause, @TimeoutOperation int timeoutOperation) {
    return new ExoPlaybackException(
        TYPE_TIMEOUT,
        cause,
        /* customMessage= */ null,
        /* rendererName= */ null,
        /* rendererIndex= */ C.INDEX_UNSET,
        /* rendererFormat= */ null,
        /* rendererFormatSupport= */ C.FORMAT_HANDLED,
        timeoutOperation,
        /* isRecoverable= */ false);
  }
public static ExoPlaybackException createForTimeout ( TimeoutException cause , @ TimeoutOperation int timeoutOperation ) { return new ExoPlaybackException ( TYPE_TIMEOUT , cause , /* customMessage= */ null , /* rendererName= */ null , /* rendererIndex= */ C . INDEX_UNSET , /* rendererFormat= */ null , /* rendererFormatSupport= */ C . FORMAT_HANDLED , timeoutOperation , /* isRecoverable= */ false ) ; }
Creates an instance of type {@link #TYPE_TIMEOUT}.
Creates an instance of type { @link #TYPE_TIMEOUT } .