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) |
mail
public static final java.lang.String LIMIT
public MailExceptionReporter(java.util.Properties props) throws MissingPropertyException
MissingPropertyException
public void report(java.lang.String message, java.lang.Throwable e, java.util.List sections) throws java.lang.Exception
report
in interface ExceptionReporter
java.lang.Exception
public static void addMailExceptionReporter(java.util.Properties mailProps)