
com.itxiaoer.commons.core.SysException Maven / Gradle / Ivy
The newest version!
package com.itxiaoer.commons.core;
import lombok.Getter;
/**
* @author : liuyk
*/
@SuppressWarnings({"unused", "WeakerAccess"})
public class SysException extends RuntimeException {
private static final long serialVersionUID = 6034307555798502244L;
/**
* 异常错误编码
*/
@Getter
private String code;
public SysException() {
}
public SysException(String code) {
this(code, "");
}
public SysException(String code, String message) {
super(message);
this.code = code;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy