Examples of report()


Examples of net.jcores.jre.CommonCore.report()

                    }

                    channel.close();
                    return buffer;
                } catch (FileNotFoundException e) {
                    cc.report(MessageType.EXCEPTION, "Error reading data() from " + x + ". File not found!");
                    return null;
                } catch (IOException e) {
                    cc.report(MessageType.EXCEPTION, "Error reading data() from " + x + ". IOException!");
                    return null;
                }
View Full Code Here

Examples of net.jcores.jre.CommonCore.report()

                    return buffer;
                } catch (FileNotFoundException e) {
                    cc.report(MessageType.EXCEPTION, "Error reading data() from " + x + ". File not found!");
                    return null;
                } catch (IOException e) {
                    cc.report(MessageType.EXCEPTION, "Error reading data() from " + x + ". IOException!");
                    return null;
                }
            }
        }).array(ByteBuffer.class));
    }
View Full Code Here

Examples of net.jcores.jre.CommonCore.report()

                    list = CoreKeeper.$(x).dir(ListDirectories.DO).list();
                }

                // Try to delete the entry
                if (!x.delete()) {
                    cc.report(MessageType.EXCEPTION, "Unable to delete " + x);
                }

                return null;
            }
        });
View Full Code Here

Examples of net.jcores.jre.CommonCore.report()

        return new CoreBufferedImage(this.commonCore, map(new F1<File, BufferedImage>() {
            public BufferedImage f(File x) {
                try {
                    return ImageIO.read(x);
                } catch (IOException e) {
                    cc.report(MessageType.EXCEPTION, "Error loading image " + x);
                }
                return null;
            }
        }).array(BufferedImage.class));
    }
View Full Code Here

Examples of net.sf.jmd.report.IReporter.report()

    public void report(IReport report, MoDi.ReportStyle reportStyle) {
        log.debug("creating reporter for style: " + reportStyle);
        IReporter reporter = ReporterFactory.create(reportStyle);
       
        log.debug("reporter: " + reporter);
        reporter.report(report);

    }
   
    public ReportStyle getReportStyle(String style) throws MoDiException {
        if (style == null || style.equals(""))
View Full Code Here

Examples of net.sourceforge.pmd.cpd.FileReporter.report()

   {
      final Renderer renderer = new XMLRenderer( encoding );
      final FileReporter reporter = new FileReporter( new File( outputDirectory.getAbsolutePath(),
                                                                OUTPUT_NAME
                                                                      + ".xml" ), encoding );
      reporter.report( renderer.render( cpd.getMatches() ) );
   }

}
View Full Code Here

Examples of opennlp.ccg.parse.tagger.util.ResultSink.report()

                }
                out.write("</s>" + System.getProperty("line.separator"));
            }
            out.flush();

            if(test) { System.err.println(rs.report()); }
        } catch (IOException ex) {
            Logger.getLogger(WordAndPOSDictionaryLabellingStrategy.class.getName()).log(Level.SEVERE, null, ex);
        } finally {
            try {
                out.close();
View Full Code Here

Examples of org.apache.derby.iapi.error.StandardException.report()

    if (t instanceof StandardException) {

      StandardException se = (StandardException) t;

      switch (se.report()) {
      case StandardException.REPORT_DEFAULT:
        int level = se.getSeverity();
        return (level >= logSeverityLevel) ||
          (level == ExceptionSeverity.NO_APPLICABLE_SEVERITY);
View Full Code Here

Examples of org.apache.hadoop.hbase.util.hbck.HFileCorruptionChecker.report()

        }
      } else {
        tableDirs = FSUtils.getTableDirs(FSUtils.getCurrentFileSystem(getConf()), rootdir);
      }
      hfcc.checkTables(tableDirs);
      hfcc.report(errors);
    }

    // check and fix table integrity, region consistency.
    int code = onlineHbck();
    setRetCode(code);
View Full Code Here

Examples of org.apache.hadoop.hbase.util.hbck.HFileCorruptionChecker.report()

        }
      } else {
        tableDirs = FSUtils.getTableDirs(FSUtils.getCurrentFileSystem(getConf()), rootdir);
      }
      hfcc.checkTables(tableDirs);
      hfcc.report(errors);
    }

    // check and fix table integrity, region consistency.
    int code = onlineHbck();
    setRetCode(code);
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.