package com.yeshi.buwan.exception.video; /** * 爱奇艺搜索引擎异常 */ public class VideoPlayException extends Exception { private int code; private String msg; public VideoPlayException(int code, String msg) { this.code = code; this.msg = msg; } public VideoPlayException(String msg) { this.msg = msg; } public String getMsg() { return msg; } public int getCode() { return code; } @Override public String getMessage() { return msg; } }