docs/doc/reference/com/google/android/exoplayer2/upstream/UdpDataSource.UdpDataSourceException.html
Package com.google.android.exoplayer2.upstream
All Implemented Interfaces:SerializableEnclosing class:UdpDataSource
public static final classUdpDataSource.UdpDataSourceExceptionextends[DataSourceException](DataSourceException.html "class in com.google.android.exoplayer2.upstream")
Thrown when an error is encountered when trying to read from a UdpDataSource.
See Also:Serialized Form
-
POSITION_OUT_OF_RANGE, reason
Constructors | Constructor | Description |
| --- | --- |
| UdpDataSourceException(Throwable cause, @com.google.android.exoplayer2.PlaybackException.ErrorCode int errorCode) |
Creates a UdpDataSourceException.
|
-
isCausedByPositionOutOfRange
-
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
public UdpDataSourceException([Throwable](https://developer.android.com/reference/java/lang/Throwable.html "class or interface in java.lang")cause,[@ErrorCode](../PlaybackException.ErrorCode.html "annotation in com.google.android.exoplayer2")@com.google.android.exoplayer2.PlaybackException.ErrorCode int errorCode)
Creates a UdpDataSourceException.
Parameters:cause - The error cause.errorCode - Reason of the error, should be one of the ERROR_CODE_IO_* in PlaybackException.ErrorCode.