org.hibernate.search.exception.impl
public class LogErrorHandler extends Object implements ErrorHandler
| Constructor and Description |
|---|
LogErrorHandler() |
| Modifier and Type | Method and Description |
|---|---|
static void |
appendFailureMessage(StringBuilder message,
LuceneWork workThatFailed) |
void |
handle(ErrorContext context) |
void |
handleException(String errorMsg,
Throwable exception)
Suited to handle a single Exception, where no ErrorContext is needed.
|
public void handle(ErrorContext context)
handle in interface ErrorHandlerpublic static final void appendFailureMessage(StringBuilder message, LuceneWork workThatFailed)
public void handleException(String errorMsg, Throwable exception)
ErrorHandlerhandleException in interface ErrorHandlererrorMsg - any description which could be useful to identify what was happeningexception - the error to be handledCopyright © 2006-2015 Red Hat, Inc. All Rights Reserved