Class BulkIndexOperationsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.atlassian.jira.JiraException
com.atlassian.jira.search.exception.IndexOperationException
com.atlassian.jira.search.exception.BulkIndexOperationsException
- All Implemented Interfaces:
Serializable
Thrown when one or more bulk index operations have failed
- Since:
- 10.4
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBulkIndexOperationsException(String message, Map<String, IndexOperationException> documentExceptions) -
Method Summary
Modifier and TypeMethodDescriptiongetDocumentException(String documentId) Get an exception associated with the given document ID, or empty if it has no exceptionsGet a map of exceptions associated with document IDsMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BulkIndexOperationsException
public BulkIndexOperationsException(String message, Map<String, IndexOperationException> documentExceptions)
-
-
Method Details
-
getDocumentExceptions
Get a map of exceptions associated with document IDs- Returns:
- a map of exceptions associated with document IDs
-
getDocumentException
Get an exception associated with the given document ID, or empty if it has no exceptions- Parameters:
documentId- the document ID- Returns:
- an exception associated with the given document ID, or empty if it has no exceptions
-