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:
java.io.Serializable
public class ExistingLuceneIndexMismatchException extends java.io.IOException
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
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description ExistingLuceneIndexMismatchException(java.lang.String message)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-