net.fastposter.client.FastpsoterException Maven / Gradle / Ivy
package net.fastposter.client;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* fastposter云服务客户端异常类
*
* @author Alex小新 [email protected]
* @site >
*/
@Data
@EqualsAndHashCode(callSuper = true)
public class FastpsoterException extends RuntimeException {
private static final long serialVersionUID = 1L;
private Long seq;
private int code;
private String msg;
private String traceId;
public FastpsoterException(long seq, int code, String msg, String traceId) {
super(msg);
this.seq = seq;
this.code = code;
this.msg = msg;
this.traceId = traceId;
}
}