org.hibernate.search.exception.impl
Class LogErrorHandler

java.lang.Object
  extended by org.hibernate.search.exception.impl.LogErrorHandler
All Implemented Interfaces:
ErrorHandler

public class LogErrorHandler
extends java.lang.Object
implements ErrorHandler

Since:
3.2
Author:
Amin Mohammed-Coleman, Sanne Grinovero

Constructor Summary
LogErrorHandler()
           
 
Method Summary
static void appendFailureMessage(java.lang.StringBuilder message, LuceneWork workThatFailed)
           
 void handle(ErrorContext context)
           
protected  void logError(java.lang.String errorMsg, java.lang.Throwable exceptionThatOccurred)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogErrorHandler

public LogErrorHandler()
Method Detail

handle

public void handle(ErrorContext context)
Specified by:
handle in interface ErrorHandler

appendFailureMessage

public static final void appendFailureMessage(java.lang.StringBuilder message,
                                              LuceneWork workThatFailed)

logError

protected void logError(java.lang.String errorMsg,
                        java.lang.Throwable exceptionThatOccurred)


Copyright © 2006-2010 Hibernate. All Rights Reserved.