throw new IndexerUpdateException("You are not owner of the indexer's lock, the lock path is: " + lock); throw new IndexerUpdateException("An indexer in state " + indexer.getLifecycleState() + " cannot be modified."); currentIndexer.getBatchIndexingState() != BatchIndexingState.INACTIVE && currentIndexer.getBatchIndexingState() != BatchIndexingState.BUILD_REQUESTED) { throw new IndexerUpdateException("Cannot move batch indexing state from " + currentIndexer.getBatchIndexingState() + " to " + indexer.getBatchIndexingState()); throw new IndexerUpdateException("An indexer in the state " + LifecycleState.DELETE_REQUESTED + " cannot be updated."); throw new IndexerUpdateException("The active batch build info cannot be modified by users."); throw new IndexerUpdateException("The last batch build info cannot be modified by users.");
throw new IndexerUpdateException("You are not owner of the indexer's lock, the lock path is: " + lock); throw new IndexerUpdateException("An indexer in state " + indexer.getLifecycleState() + " cannot be modified."); currentIndexer.getBatchIndexingState() != BatchIndexingState.INACTIVE && currentIndexer.getBatchIndexingState() != BatchIndexingState.BUILD_REQUESTED) { throw new IndexerUpdateException("Cannot move batch indexing state from " + currentIndexer.getBatchIndexingState() + " to " + indexer.getBatchIndexingState()); throw new IndexerUpdateException("An indexer in the state " + LifecycleState.DELETE_REQUESTED + " cannot be updated."); throw new IndexerUpdateException("The active batch build info cannot be modified by users."); throw new IndexerUpdateException("The last batch build info cannot be modified by users.");
new IndexerUpdateException("Requested update of indexer: " + indexName + " but indexer parameter has name: " + newIndexer.getName()));