plusone-commons 中新增 BaseRuntimeException 作为基础运行时异常,原 BaseException 作为基础检查型异常。
parent
15ed0e2ec6
commit
86fcd7a255
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue