public class ErrorMailNotifier extends AbstractMailNotifier implements IJobErrorListener
| Constructor and Description | 
|---|
| ErrorMailNotifier(String host,
                 String sender,
                 String recipient) | 
| ErrorMailNotifier(String host,
                 String sender,
                 String[] recipients) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected String | getStackTrace(Throwable t) | 
| void | jobError(JobErrorEvent event)Receives notification of a job error. | 
getLogTail, getMailer, getRecipientspublic ErrorMailNotifier(String host, String sender, String recipient)
host - mail server hostsender - email address of sender ("From" field)recipient - email address of recipient ("To" field)AbstractMailNotifier.AbstractMailNotifier(String, String, String)public ErrorMailNotifier(String host, String sender, String[] recipients)
host - mail server hostsender - email address of sender ("From" field)recipients - email address of recipients ("To" field)AbstractMailNotifier.AbstractMailNotifier(String, String, String[])public void jobError(JobErrorEvent event)
IJobErrorListenerjobError in interface IJobErrorListenerevent - error eventCopyright © 2007–2021 Norconex Inc.. All rights reserved.