public class DefaultGlobalExceptionNotifier extends Object implements ExceptionNotifier
实现了 ExceptionNotifier 接口,提供了默认的异常通知实现。 主要用于记录异常日志,不进行实际的通知发送。
| 构造器和说明 |
|---|
DefaultGlobalExceptionNotifier()
默认构造函数
初始化通知渠道为"DEFAULT"。
|
| 限定符和类型 | 方法和说明 |
|---|---|
ExceptionNoticeResult |
send(ExceptionMessage sendMessage)
发送异常通知
记录异常日志,并返回成功的结果。
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChannelpublic DefaultGlobalExceptionNotifier()
初始化通知渠道为"DEFAULT"。
public ExceptionNoticeResult send(ExceptionMessage sendMessage)
记录异常日志,并返回成功的结果。
send 在接口中 ExceptionNotifiersendMessage - 需要发送的异常消息Copyright © 2025. All rights reserved.