Examples of ErrorLog


Examples of org.apache.hivemind.ErrorLog

        MockControl logControl = newControl(Log.class);
        Log log = (Log) logControl.getMock();

        MockControl errorLogControl = newControl(ErrorLog.class);
        ErrorLog errorLog = (ErrorLog) errorLogControl.getMock();

        log.info("Executing task Failure.");

        errorLog.error(
                "Exception while executing task Failure: Failure!",
                null,
                new ApplicationRuntimeException(""));
        errorLogControl.setMatcher(new AggregateArgumentsMatcher(new ArgumentMatcher[]
        { null, null, new TypeMatcher() }));
View Full Code Here

Examples of org.apache.hivemind.ErrorLog

        }
    }

    public void testTerminatorConflict()
    {
        ErrorLog log = newErrorLog();

        log.error(
                "Terminator ss2 for pipeline service foo.bar conflicts with "
                        + "previous terminator (ss1, at unknown location) and has been ignored.",
                null,
                null);
View Full Code Here

Examples of org.apache.hivemind.ErrorLog

        verifyControls();
    }

    public void testIncorrectTerminatorType()
    {
        ErrorLog log = newErrorLog();

        log.error("-String- is not an instance of interface "
                + "org.apache.hivemind.lib.pipeline.StandardService suitable for "
                + "use as part of the pipeline for service foo.bar.", null, null);

        replayControls();
View Full Code Here

Examples of org.apache.hivemind.ErrorLog

        verifyControls();
    }

    public void testIncorrectFilterType()
    {
        ErrorLog log = newErrorLog();

        log.error("-String- is not an instance of interface "
                + "org.apache.hivemind.lib.pipeline.StandardFilter suitable for "
                + "use as part of the pipeline for service foo.bar.", null, null);

        replayControls();
View Full Code Here

Examples of org.apache.hivemind.ErrorLog

        ClassFactory cf = new ClassFactoryImpl();
        DefaultImplementationBuilderImpl dib = new DefaultImplementationBuilderImpl();

        dib.setClassFactory(cf);

        ErrorLog log = newErrorLog();

        replayControls();

        PipelineAssembler pa = new PipelineAssembler(log, "foo.bar", StandardService.class,
                StandardFilter.class, new ClassFactoryImpl(), dib);
View Full Code Here

Examples of org.apache.hivemind.ErrorLog

        ClassFactory cf = new ClassFactoryImpl();
        DefaultImplementationBuilderImpl dib = new DefaultImplementationBuilderImpl();

        dib.setClassFactory(cf);

        ErrorLog log = newErrorLog();

        PipelineAssembler pa = new PipelineAssembler(log, "foo.bar", StandardService.class,
                StandardFilter.class, new ClassFactoryImpl(), dib);

        replayControls();
View Full Code Here

Examples of org.apache.synapse.aspects.statistics.ErrorLog

    }

    private void runPhaseThree() {
        System.out.println("Starting phase 3");
        InOutStatisticsView view = getDataView(resource2, value5, value6);
        ErrorLog log = new ErrorLog("1001");
        view.getInStatistics().addErrorLog(log);
        store.updateStatistics(view);

        StatisticsRecord categoryInRecord  = store.getRecordByCategory(type, true);
        assertEquals(3, categoryInRecord.getTotalCount());
View Full Code Here

Examples of org.exoplatform.services.jcr.impl.core.query.ErrorLog

         log.warn("Using Version {} for reading. Please re-index version " + "storage for optimal performance.",
            new Integer(getIndexFormatVersion().getVersion()));
      }

      File file = new File(indexDirectory, ERROR_LOG);
      errorLog = new ErrorLog(file, errorLogfileSize);
      // reprocess any notfinished notifies;
      if (modeHandler.getMode() == IndexerIoMode.READ_WRITE)
      {
         recoverErrorLog(errorLog);
      }
View Full Code Here

Examples of sos.scheduler.editor.app.ErrorLog

    try {
        txtXML.setText(listener.readCommands());
    } catch (Exception e) {
      try {
        System.err.println("error in DetailXMLEditorDialogForm.showXMLEditor: " + e.toString());           
          new ErrorLog("error in " + sos.util.SOSClassUtil.getMethodName() , e);
        } catch(Exception ee) {
          //tu nichts
        }
     
    }
View Full Code Here

Examples of sos.scheduler.editor.app.ErrorLog

      }
      setToolTipText();
     
    } catch(Exception e){
      try {
        new ErrorLog("error in " + sos.util.SOSClassUtil.getMethodName(), e);
      } catch(Exception ee) {
        //tu nichts
      }
    }
  }
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.