docs/doc/reference/com/google/android/exoplayer2/drm/DrmSession.DrmSessionException.html
Package com.google.android.exoplayer2.drm
All Implemented Interfaces:SerializableEnclosing interface:DrmSession
public static classDrmSession.DrmSessionExceptionextends[IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io")
Wraps the throwable which is the cause of the error state. See Also:Serialized Form
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| @com.google.android.exoplayer2.PlaybackException.ErrorCode int | errorCode |
The PlaybackException.ErrorCode that corresponds to the failure.
|
Constructors | Constructor | Description |
| --- | --- |
| DrmSessionException(Throwable cause, @com.google.android.exoplayer2.PlaybackException.ErrorCode int errorCode) | |
-
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
[@ErrorCode](../PlaybackException.ErrorCode.html "annotation in com.google.android.exoplayer2")public final @com.google.android.exoplayer2.PlaybackException.ErrorCode int errorCode
The PlaybackException.ErrorCode that corresponds to the failure.
-
public DrmSessionException([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)