Interface ContextualFailureCollector

All Superinterfaces:
org.hibernate.search.util.common.reporting.spi.EventContextProvider, FailureCollector

public interface ContextualFailureCollector extends FailureCollector, org.hibernate.search.util.common.reporting.spi.EventContextProvider
A failure collector with an implicit context.

Implementations are thread-safe.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(String failureMessage)
     
    void
     
    boolean
     

    Methods inherited from interface org.hibernate.search.util.common.reporting.spi.EventContextProvider

    eventContext

    Methods inherited from interface org.hibernate.search.engine.reporting.spi.FailureCollector

    withContext, withContext
  • Method Details

    • hasFailure

      boolean hasFailure()
    • add

      void add(Throwable t)
    • add

      void add(String failureMessage)