增加BaseException

This commit is contained in:
zhangdeman committed 2025-06-15 18:45:37 +08:00
1 parent 8927b3323f
commit 0c1607e01d
2 files changed
+33

No files matched your search

@@ -0,0 +1,20 @@
package cn.zhangdeman.exception;
import lombok.Getter;
import lombok.Setter;
import java.util.List;
@Getter
@Setter
public class BaseException implements ICustomExceptionConfig {
private String code;
private String message;
private String category;
public BaseException(String code, String message, String category) {
setCode(code);
setMessage(message);
setCategory(category);
}
}
@@ -0,0 +1,13 @@
package cn.zhangdeman.logger;
import ch.qos.logback.classic.spi.ILoggingEvent;
import com.fasterxml.jackson.core.JsonGenerator;
import java.io.IOException;
public class DatabaseExecuteLogProvider extends BaseProvider {
@Override
public void writeTo(JsonGenerator jsonGenerator, ILoggingEvent loggingEvent) throws IOException {
}
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.