Commit 70e6dd59 by hoangtc Committed by Oliver Woodman

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
parent b0a873df
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment