plusone-commons 中新增 BaseRuntimeException 作为基础运行时异常,原 BaseException 作为基础检查型异常。

dev
ZhouXY108 2023-10-18 11:09:55 +08:00
parent 15ed0e2ec6
commit 86fcd7a255
2 changed files with 4 additions and 4 deletions

View File

@ -1,13 +1,13 @@
package xyz.zhouxy.plusone.exception;
import xyz.zhouxy.plusone.commons.exception.BaseException;
import xyz.zhouxy.plusone.commons.exception.BaseRuntimeException;
/**
*
*
* @author <a href="https://gitee.com/zhouxy108">ZhouXY</a>
*/
public class BizException extends BaseException {
public class BizException extends BaseRuntimeException {
@java.io.Serial
private static final long serialVersionUID = -5524759033245815405L;

View File

@ -1,8 +1,8 @@
package xyz.zhouxy.plusone.exception;
import xyz.zhouxy.plusone.commons.exception.BaseException;
import xyz.zhouxy.plusone.commons.exception.BaseRuntimeException;
public class SysException extends BaseException {
public class SysException extends BaseRuntimeException {
@java.io.Serial
private static final long serialVersionUID = 8821240827443168118L;