package org.yeshi.utils.exception; public class AlipayTransferException extends Exception { public AlipayTransferException() { } /** * 支付宝转账异常 */ private static final long serialVersionUID = 1L; private int code; private String subCode; private String msg; public int getCode() { return code; } public String getMsg() { return msg; } public String getSubCode() { return subCode; } public AlipayTransferException(int code, String subCode, String msg) { this.code = code; this.msg = msg; this.subCode = subCode; } @Override public String getMessage() { return this.msg; } }