标签调整,优化
This commit is contained in:
@@ -9,19 +9,19 @@ import lombok.EqualsAndHashCode;
|
||||
* 业务异常类,继承运行时异常,确保事务正常回滚
|
||||
*
|
||||
* @author NULL
|
||||
* @since 2019-07-16
|
||||
* @since 2019-07-16
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class BaseException extends RuntimeException{
|
||||
public class BaseException extends RuntimeException {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
private ResponseCode code;
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
private ResponseCode code;
|
||||
|
||||
public BaseException(ResponseCode code) {
|
||||
this.code = code;
|
||||
|
||||
Reference in New Issue
Block a user