Package org.apache.uima.tools.jcasgen.Jg

Examples of org.apache.uima.tools.jcasgen.Jg.ErrorExit


      GUI.theGUI.pnG.showInStatus(b.toString());
      ps.close();
    }

    if (IError.WARN < severity)
      throw new ErrorExit();
  }
View Full Code Here


   */
  public void newError(int severity, String message, Exception exception) {
    Logger log = UIMAFramework.getLogger();
    log.log(logLevels[severity], "JCasGen: " + message, exception);
    if (IError.WARN < severity)
      throw new ErrorExit();
  }
View Full Code Here

  public void newError(int severity, String message, Exception exception) {
    String pluginId = JgPlugin.getDefault().getDescriptor().getUniqueIdentifier();
    ILog log = JgPlugin.getDefault().getLog();
    log.log(new Status(logLevels[severity], pluginId, IStatus.OK, message, exception));
    if (IError.WARN < severity)
      throw new ErrorExit();
  }
View Full Code Here

TOP

Related Classes of org.apache.uima.tools.jcasgen.Jg.ErrorExit

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.