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:
hoangtc 2017-06-26 02:46:42 -07:00 committed by Oliver Woodman
parent b0a873df25
commit 70e6dd5930

View File

@ -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);
} }
} }