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)
|
||||
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 {
|
||||
|
||||
public DrmSessionException(Exception e) {
|
||||
super(e);
|
||||
public DrmSessionException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user