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
@ -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…
x
Reference in New Issue
Block a user