Examples of BugReport


Examples of abbot.BugReport

        }
        catch(ClassNotFoundException cnf) {
            //Log.debug("Class " + testerName + " not found");
        }
        catch(ClassCastException cce) {
            throw new BugReport("Class loader conflict: environment "
                                + ComponentTester.class.getClassLoader()
                                + " vs. " + testerClass.getClassLoader());
        }

        return tester;
View Full Code Here

Examples of abbot.BugReport

            try {
                setStep(createStep());
                Log.log("Semantic event recorded");
            }
            catch(Throwable thr) {
                BugReport br = new BugReport("An error was encountered while "
                                             + "recording; the offending step "
                                             + "has been omitted.", thr);
                Log.log("Semantic recorder error: " + br.toString());
                setStatus("An error was encountered, see console for details");
                setRecordingType(SE_NONE);
                throw br;
            }
        }
View Full Code Here

Examples of com.compomics.util.gui.error_handlers.BugReport

     * Opens a new bug report dialog.
     *
     * @param evt
     */
    private void bugReportMenuItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_bugReportMenuItemActionPerformed
        new BugReport(this, peptideShakerGUI.getLastSelectedFolder(), "PeptideShaker", "peptide-shaker",
                PeptideShaker.getVersion(), "peptide-shaker", "PeptideShaker",
                new File(peptideShakerGUI.getJarFilePath() + "/resources/PeptideShaker.log"));
    }//GEN-LAST:event_bugReportMenuItemActionPerformed
View Full Code Here

Examples of com.compomics.util.gui.error_handlers.BugReport

     * Opens a new bug report dialog.
     *
     * @param evt
     */
    private void logReportMenuActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_logReportMenuActionPerformed
        new BugReport(this, lastSelectedFolder, "PeptideShaker", "peptide-shaker", PeptideShaker.getVersion(),
                "peptide-shaker", "PeptideShaker", new File(getJarFilePath() + "/resources/PeptideShaker.log"));
    }//GEN-LAST:event_logReportMenuActionPerformed
View Full Code Here

Examples of com.dianping.cat.home.bug.entity.BugReport

public class BugReportService extends AbstractReportService<BugReport> {

  @Override
  public BugReport makeReport(String domain, Date start, Date end) {
    BugReport report = new BugReport(domain);

    report.setStartTime(start);
    report.setEndTime(end);
    return report;
  }
View Full Code Here

Examples of com.dianping.cat.home.bug.entity.BugReport

    return report;
  }

  @Override
  public BugReport queryDailyReport(String domain, Date start, Date end) {
    BugReportMerger merger = new BugReportMerger(new BugReport(domain));
    long startTime = start.getTime();
    long endTime = end.getTime();
    String name = Constants.REPORT_BUG;

    for (; startTime < endTime; startTime = startTime + TimeHelper.ONE_DAY) {
      try {
        DailyReport report = m_dailyReportDao.findByDomainNamePeriod(domain, name, new Date(startTime),
              DailyReportEntity.READSET_FULL);
        String xml = report.getContent();

        if (xml != null && xml.length() > 0) {
          BugReport reportModel = com.dianping.cat.home.bug.transform.DefaultSaxParser.parse(xml);
          reportModel.accept(merger);
        } else {
          BugReport reportModel = queryFromDailyBinary(report.getId(), domain);
          reportModel.accept(merger);
        }
      } catch (DalNotFoundException e) {
        //ignore
      } catch (Exception e) {
        Cat.logError(e);
      }
    }
    BugReport bugReport = merger.getBugReport();

    bugReport.setStartTime(start);
    bugReport.setEndTime(end);
    return bugReport;
  }
View Full Code Here

Examples of com.dianping.cat.home.bug.entity.BugReport

    DailyReportContent content = m_dailyReportContentDao.findByPK(id, DailyReportContentEntity.READSET_FULL);

    if (content != null) {
      return DefaultNativeParser.parse(content.getContent());
    } else {
      return new BugReport(domain);
    }
  }
View Full Code Here

Examples of com.dianping.cat.home.bug.entity.BugReport

    HourlyReportContent content = m_hourlyReportContentDao.findByPK(id, HourlyReportContentEntity.READSET_FULL);

    if (content != null) {
      return DefaultNativeParser.parse(content.getContent());
    } else {
      return new BugReport(domain);
    }
  }
View Full Code Here

Examples of com.dianping.cat.home.bug.entity.BugReport

    MonthlyReportContent content = m_monthlyReportContentDao.findByPK(id, MonthlyReportContentEntity.READSET_FULL);

    if (content != null) {
      return DefaultNativeParser.parse(content.getContent());
    } else {
      return new BugReport(domain);
    }
  }
View Full Code Here

Examples of com.dianping.cat.home.bug.entity.BugReport

    WeeklyReportContent content = m_weeklyReportContentDao.findByPK(id, WeeklyReportContentEntity.READSET_FULL);

    if (content != null) {
      return DefaultNativeParser.parse(content.getContent());
    } else {
      return new BugReport(domain);
    }
  }
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.