Examples of SchemaMatchConflictException


Examples of org.fao.geonet.exceptions.SchemaMatchConflictException

        if (match && (!matches.contains(schemaName))) matches.add(schemaName);
      }
    }

    if (matches.size() > 1) {
      throw new SchemaMatchConflictException("Metadata record with "+md.getName()+" (Namespace "+md.getNamespace()+" matches more than one schema - namely: "+matches.toString()+" - during schema autodetection mode "+mode);
    } else if (matches.size() == 1) {
      returnVal = matches.get(0);
    }

    return returnVal;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.