Package org.apache.clerezza.uima.utils.exception

Examples of org.apache.clerezza.uima.utils.exception.NotSingletonFeatureStructureException


    FeatureStructure featureStructure = null;
    for (FSIterator<FeatureStructure> it = cas.getFSIndexRepository().getAllIndexedFS(
            cas.getCasType(type)); it.hasNext();) {
      featureStructure = it.next();
      if (it.hasNext())
        throw new NotSingletonFeatureStructureException();
    }

    if (featureStructure == null)
      throw new FeatureStructureNotFoundException();
View Full Code Here

TOP

Related Classes of org.apache.clerezza.uima.utils.exception.NotSingletonFeatureStructureException

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.