docs/doc/reference/com/google/android/exoplayer2/upstream/LoadErrorHandlingPolicy.LoadErrorInfo.html
Package com.google.android.exoplayer2.upstream
Enclosing interface:LoadErrorHandlingPolicy
public static final classLoadErrorHandlingPolicy.LoadErrorInfoextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")
Holds information about a load task error.
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| int | errorCount |
The number of errors this load task has encountered, including this one.
|
| IOException | exception |
The exception associated to the load error.
|
| LoadEventInfo | loadEventInfo |
The LoadEventInfo associated with the load that encountered an error.
|
| MediaLoadData | mediaLoadData |
MediaLoadData associated with the load that encountered an error.
|
Constructors | Constructor | Description |
| --- | --- |
| LoadErrorInfo(LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData, IOException exception, int errorCount) |
Creates an instance with the given values.
|
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public final[LoadEventInfo](../source/LoadEventInfo.html "class in com.google.android.exoplayer2.source")loadEventInfo
The LoadEventInfo associated with the load that encountered an error.
-
public final[MediaLoadData](../source/MediaLoadData.html "class in com.google.android.exoplayer2.source")mediaLoadData
MediaLoadData associated with the load that encountered an error.
-
public final[IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io")exception
The exception associated to the load error.
-
public final int errorCount
The number of errors this load task has encountered, including this one.
-
public LoadErrorInfo([LoadEventInfo](../source/LoadEventInfo.html "class in com.google.android.exoplayer2.source")loadEventInfo,[MediaLoadData](../source/MediaLoadData.html "class in com.google.android.exoplayer2.source")mediaLoadData,[IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io")exception,
int errorCount)
Creates an instance with the given values.