Examples of AlchemyCallFailedException


Examples of org.apache.uima.alchemy.annotator.exception.AlchemyCallFailedException

        if (this.getContext().getLogger().isLoggable(Level.FINER))
            this.getContext().getLogger().log(Level.FINER, results.toString());
        if (results.getStatus().equalsIgnoreCase(STATUS_OK)) {
          mapResultsToTypeSystem(results, aJCas);
        } else {
          throw new AlchemyCallFailedException(new StringBuilder(results.getStatus()).append(" - ").
                  append(results.getStatusInfo()).toString());
        }

      } catch (Exception e) {
        throw new ResultDigestingException(e);
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.