public final class UnsupportedDrmException
extends java.lang.Exception
| Modifier and Type | Class and Description |
|---|---|
static interface |
UnsupportedDrmException.Reason
The reason for the exception.
|
| Modifier and Type | Field and Description |
|---|---|
int |
reason
|
static int |
REASON_INSTANTIATION_ERROR
There device advertises support for the requested DRM scheme, but there was an error
instantiating it.
|
static int |
REASON_UNSUPPORTED_SCHEME
The requested DRM scheme is unsupported by the device.
|
| Constructor and Description |
|---|
UnsupportedDrmException(int reason) |
UnsupportedDrmException(int reason,
java.lang.Exception cause) |
public static final int REASON_UNSUPPORTED_SCHEME
public static final int REASON_INSTANTIATION_ERROR
Throwable.getCause().@UnsupportedDrmException.Reason public final int reason
public UnsupportedDrmException(@UnsupportedDrmException.Reason int reason)
reason - REASON_UNSUPPORTED_SCHEME or REASON_INSTANTIATION_ERROR.public UnsupportedDrmException(@UnsupportedDrmException.Reason int reason, java.lang.Exception cause)
reason - REASON_UNSUPPORTED_SCHEME or REASON_INSTANTIATION_ERROR.cause - The cause of this exception.