admin
2021-09-24 f788607ff771a47bc60d6a86e00b3433c40f3d2c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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;
    }
}