com.firefly.wechat.model.ErrorResponse Maven / Gradle / Ivy
package com.firefly.wechat.model;
import java.io.Serializable;
/**
* @author Pengtao Qiu
*/
public class ErrorResponse extends RuntimeException implements Serializable {
private static final long serialVersionUID = 1L;
private Integer errcode;
private String errmsg;
public Integer getErrcode() {
return errcode;
}
public void setErrcode(Integer errcode) {
this.errcode = errcode;
}
public String getErrmsg() {
return errmsg;
}
public void setErrmsg(String errmsg) {
this.errmsg = errmsg;
}
@Override
public String toString() {
return "ErrorResponse{" +
"errcode=" + errcode +
", errmsg='" + errmsg + '\'' +
'}';
}
}