Class FailureContext
- java.lang.Object
-
- org.hibernate.search.engine.reporting.FailureContext
-
- Direct Known Subclasses:
EntityIndexingFailureContext
public class FailureContext extends Object
Contextual information about a failing background operation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FailureContext.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Object
failingOperation
protected Throwable
throwable
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FailureContext.Builder
builder()
Object
failingOperation()
Throwable
throwable()
String
toString()
-
-
-
Method Detail
-
builder
public static FailureContext.Builder builder()
- Returns:
- A new
FailureContext
builder.
-
throwable
public Throwable throwable()
-
failingOperation
public Object failingOperation()
- Returns:
- The operation that triggered the failure.
Never
null
. UseObject.toString()
to get a textual representation.
-
-