com.norconex.jef.mail
Class ErrorMailNotifier
java.lang.Object
com.norconex.jef.mail.AbstractMailNotifier
com.norconex.jef.mail.ErrorMailNotifier
- All Implemented Interfaces:
- IErrorHandler
public class ErrorMailNotifier
- extends AbstractMailNotifier
- implements IErrorHandler
Simple error handler notifying email recipients when exceptions occur.
- Author:
- Pascal Essiembre
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorMailNotifier
public ErrorMailNotifier(String host,
String sender,
String recipient)
- See Also:
AbstractMailNotifier.AbstractMailNotifier(String, String, String)
ErrorMailNotifier
public ErrorMailNotifier(String host,
String sender,
String[] recipients)
- See Also:
AbstractMailNotifier.AbstractMailNotifier(String, String, String[])
handleError
public final void handleError(IErrorEvent event)
- Description copied from interface:
IErrorHandler
- Handles an error.
- Specified by:
handleError
in interface IErrorHandler
- Parameters:
event
- error event
getStackTrace
protected final String getStackTrace(Throwable t)
Copyright © 2007-2013 Norconex Inc.. All Rights Reserved.