首页>代码>基于SpringBoot的轻量级Java快速开发平台>/X-SpringBoot/src/main/java/com/suke/czx/common/exception/RRException.java
package com.suke.czx.common.exception; /** * 自定义异常 * * @author czx * @email object_czx@163.com * @date 2016年10月27日 下午10:11:27 */ public class RRException extends RuntimeException { private static final long serialVersionUID = 1L; private String msg; private int code = 500; public RRException(String msg) { super(msg); this.msg = msg; } public RRException(String msg, Throwable e) { super(msg, e); this.msg = msg; } public RRException(String msg, int code) { super(msg); this.msg = msg; this.code = code; } public RRException(String msg, int code, Throwable e) { super(msg, e); this.msg = msg; this.code = code; } public String getMsg() { return msg; } public void setMsg(String msg) { this.msg = msg; } public int getCode() { return code; } public void setCode(int code) { this.code = code; } }
最近下载更多
最代码-宋家辉 LV61
2022年10月15日
王泽军 LV2
2022年8月26日
taijh999 LV13
2022年6月27日
cxdxfx12 LV14
2022年6月21日
2468867327 LV10
2022年5月18日
tangjj7260 LV18
2022年4月25日
glyph LV10
2022年3月17日
xiaolin712 LV9
2022年3月8日
美丽的巨兔12138 LV7
2022年1月27日
wanglinddad LV54
2021年9月1日