Package com.foundationdb.server.error

Examples of com.foundationdb.server.error.DuplicateIndexIdException


        @Override
        public void visit(Index index) {
            Index prev = current.put(index.getIndexId(), index);
            IndexName name = index.getIndexName();
            if(prev != null) {
                failures.reportFailure(new AISValidationFailure(new DuplicateIndexIdException(prev.getIndexName(), name)));
            }
            Integer indexID = index.getIndexId();
            if((indexID == null) || (indexID <= 0)) {
                failures.reportFailure(new AISValidationFailure(new InvalidIndexIDException(name, indexID)));
            }
View Full Code Here

TOP

Related Classes of com.foundationdb.server.error.DuplicateIndexIdException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.