mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Update DrmSessionException.
Make DrmSessionException takes in Throwable cause instead of Exception cause, which is more limiting and doesn't add any benefit. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160121486
This commit is contained in:
parent
b0a873df25
commit
70e6dd5930
1 changed files with 3 additions and 3 deletions
|
|
@ -28,11 +28,11 @@ import java.util.Map;
|
||||||
@TargetApi(16)
|
@TargetApi(16)
|
||||||
public interface DrmSession<T extends ExoMediaCrypto> {
|
public interface DrmSession<T extends ExoMediaCrypto> {
|
||||||
|
|
||||||
/** Wraps the exception which is the cause of the error state. */
|
/** Wraps the throwable which is the cause of the error state. */
|
||||||
class DrmSessionException extends Exception {
|
class DrmSessionException extends Exception {
|
||||||
|
|
||||||
public DrmSessionException(Exception e) {
|
public DrmSessionException(Throwable cause) {
|
||||||
super(e);
|
super(cause);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue