Class BulkFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.dao.NonTransientDataAccessException
org.springframework.dao.DataRetrievalFailureException
org.springframework.data.elasticsearch.BulkFailureException
- All Implemented Interfaces:
Serializable
- Since:
- 4.1
- Author:
- Peter-Josef Meisch, Illia Ulianov
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
Details about a document saving failure. -
Constructor Summary
ConstructorDescriptionBulkFailureException
(String msg, Map<String, BulkFailureException.FailureDetails> failedDocuments) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BulkFailureException
public BulkFailureException(String msg, Map<String, BulkFailureException.FailureDetails> failedDocuments)
-
-
Method Details
-
getFailedDocuments
-