public final class UnsupportedDrmException extends 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,
Exception cause) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final int REASON_UNSUPPORTED_SCHEME
public static final int REASON_INSTANTIATION_ERROR
Throwable.getCause()
.public final int reason
public UnsupportedDrmException(int reason)
public UnsupportedDrmException(int reason, Exception cause)