org.hibernate.search.exception.impl
Class ErrorContextBuilder

java.lang.Object
  extended by org.hibernate.search.exception.impl.ErrorContextBuilder

public class ErrorContextBuilder
extends Object

Since:
3.2
Author:
Amin Mohammed-Coleman

Constructor Summary
ErrorContextBuilder()
           
 
Method Summary
 ErrorContextBuilder addAllWorkThatFailed(List<LuceneWork> worksThatFailed)
           
 ErrorContextBuilder addWorkThatFailed(LuceneWork failedWork)
           
 ErrorContextBuilder allWorkToBeDone(List<LuceneWork> workOnWriter)
           
 ErrorContext createErrorContext()
           
 ErrorContextBuilder errorThatOccurred(Throwable th)
           
 ErrorContextBuilder workCompleted(LuceneWork luceneWork)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorContextBuilder

public ErrorContextBuilder()
Method Detail

errorThatOccurred

public ErrorContextBuilder errorThatOccurred(Throwable th)

addWorkThatFailed

public ErrorContextBuilder addWorkThatFailed(LuceneWork failedWork)

addAllWorkThatFailed

public ErrorContextBuilder addAllWorkThatFailed(List<LuceneWork> worksThatFailed)

workCompleted

public ErrorContextBuilder workCompleted(LuceneWork luceneWork)

allWorkToBeDone

public ErrorContextBuilder allWorkToBeDone(List<LuceneWork> workOnWriter)

createErrorContext

public ErrorContext createErrorContext()


Copyright © 2006-2013 Red Hat, Inc. All Rights Reserved