Package org.apache.maven.index.context
Class ExistingLuceneIndexMismatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.maven.index.context.ExistingLuceneIndexMismatchException
- All Implemented Interfaces:
Serializable
Thrown when a user tries to create a NexusInder IndexingContext over and existing Lucene index, and there is a
mismatch. The reason for mismatch may be multiple: non-NexusIndexer Lucene index (basically missing the descriptor
document), index version is wrong or unknown, repositoryId from context and descriptor document does not matches,
etc. This exception is not thrown in cases when "reclaim" is done, as in those cases, even if an unknown index is
found, descriptor will be forcefully added with current context information, potentially replacing the existing
descriptor, if any.
- Since:
- 5.1.0
- Author:
- Tamas Cservenak
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExistingLuceneIndexMismatchException
-