public class MailGlobalExceptionNotifier extends AbstractExceptionNotifier
applicationName, channel| 构造器和说明 |
|---|
MailGlobalExceptionNotifier(String channel,
String applicationName,
MailSender sender,
Set<String> receiveEmails) |
| 限定符和类型 | 方法和说明 |
|---|---|
ExceptionNoticeResult |
send(ExceptionMessage sendMessage)
发送异常通知
将异常信息通过指定的渠道发送出去。
|
getChannelpublic MailGlobalExceptionNotifier(String channel, String applicationName, MailSender sender, Set<String> receiveEmails)
public ExceptionNoticeResult send(ExceptionMessage sendMessage)
ExceptionNotifier将异常信息通过指定的渠道发送出去。
sendMessage - 需要发送的异常消息Copyright © 2025. All rights reserved.