public class MailExceptionReporter extends ResultMailer implements ExceptionReporter
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
LIMIT
mail.limit specifies the number of emails to send
|
FROM, SMTP, SUBJECT, TO| Constructor and Description |
|---|
MailExceptionReporter(java.util.Properties props) |
| Modifier and Type | Method and Description |
|---|---|
static void |
addMailExceptionReporter(java.util.Properties mailProps) |
void |
report(java.lang.String message,
java.lang.Throwable e,
java.util.List sections) |
mailpublic static final java.lang.String LIMIT
public MailExceptionReporter(java.util.Properties props)
throws MissingPropertyException
MissingPropertyExceptionpublic void report(java.lang.String message,
java.lang.Throwable e,
java.util.List sections)
throws java.lang.Exception
report in interface ExceptionReporterjava.lang.Exceptionpublic static void addMailExceptionReporter(java.util.Properties mailProps)