linwe
2024-05-29 c10d6358b9f014375a13821465bc978d0c0da22e
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/**
 * Alipay.com Inc.
 * Copyright (c) 2004-2012 All Rights Reserved.
 */
package org.springblade.common.utils.sms;
 
 
/**
 *
 * @author runzhi
 */
public class AlipayApiException extends Exception {
 
    private static final long serialVersionUID = -238091758285157331L;
 
    private String            errCode;
    private String            errMsg;
 
    public AlipayApiException() {
        super();
    }
 
    public AlipayApiException(String message, Throwable cause) {
        super(message, cause);
    }
 
    public AlipayApiException(String message) {
        super(message);
    }
 
    public AlipayApiException(Throwable cause) {
        super(cause);
    }
 
    public AlipayApiException(String errCode, String errMsg) {
        super(errCode + ":" + errMsg);
        this.errCode = errCode;
        this.errMsg = errMsg;
    }
 
    public String getErrCode() {
        return this.errCode;
    }
 
    public String getErrMsg() {
        return this.errMsg;
    }
 
}