Examples of error()


Examples of org.agilewiki.jactor2.core.reactors.impl.ReactorImpl.error()

     * @param _requestImpl    The reactor with the hung request.
     */
    public void onHungRequest(final RequestMtImpl<?> _requestImpl)
            throws Exception {
        final ReactorImpl reactor = _requestImpl.getTargetReactorImpl();
        reactor.error("request hung -> reactor close");
        reactor.fail("hung request");
    }

    /**
     * Handles StackOverflowError. Default action: close the reactor.
View Full Code Here

Examples of org.apache.avalon.framework.logger.CommonsLogger.error()

        mockLog.expects(once()).method("error").with(eq("JUnit"));
        mockLog.expects(once()).method("error").with(eq("JUnit"), same(exception));

        if(logger.isErrorEnabled())
        {
            logger.error("JUnit");
            logger.error("JUnit", exception);
        }
    }

    /**
 
View Full Code Here

Examples of org.apache.avalon.framework.logger.ConsoleLogger.error()

      // Perform the search
      Matcher pm = pattern.matcher(cb); // Pattern matcher

      result = pm.find();
    } catch (FileNotFoundException e) {
      log.error("File not found: " +e.toString());
    } catch (CharacterCodingException e) {
      log.error("Problem with encoding: " +e.toString());
    } catch (IOException e) {
      log.error("IO Exception: " +e.toString());
    } finally {
View Full Code Here

Examples of org.apache.avalon.framework.logger.Logger.error()

        //final String cat = logger.getCategory();
        //defaultLogger.info( "Category is " + cat );
        logger.debug( message );
        logger.info( message );
        logger.warn( message );
        logger.error( message );
        logger.fatalError( message );
    }
}
View Full Code Here

Examples of org.apache.catalina.CometProcessor.error()

            }
           
            try {
                servlet = (CometProcessor) request.getWrapper().allocate();
                if (error) {
                    servlet.error(request.getRequest(), response.getResponse());
                } else {
                    if (!servlet.read(request.getRequest(), response.getResponse())) {
                        error = true;
                        try {
                            servlet.error(request.getRequest(), response.getResponse());
View Full Code Here

Examples of org.apache.commons.logging.Log.error()

    CommandLine commandLine = null;
    try {
      commandLine = new PosixParser().parse(options, args);
    } catch (ParseException e) {
      LOG.error("Could not parse: ", e);
      printUsageAndExit(options, -1);
    }

    // check for user-defined port setting, if so override the conf
    if (commandLine != null && commandLine.hasOption("port")) {
View Full Code Here

Examples of org.apache.commons.logging.impl.Log4JLogger.error()

    public void error(Object arg0)
    {
        Log4JLogger logger = getLogger();
        if ( logger != null )
        {
            logger.error(arg0);
        }
    }
    public void error(Object arg0, Throwable arg1)
    {
        Log4JLogger logger = getLogger();
View Full Code Here

Examples of org.apache.felix.cm.integration.helper.Log.error()

                                });
                                confs.add(c);
                            }
                            catch (IOException e)
                            {
                                log.error("could not create pid %s", e, pid);
                                return;
                            }
                        }
                    });
                }
View Full Code Here

Examples of org.apache.felix.mosgi.jmx.agent.mx4j.log.Logger.error()

//         privilegedRegisterMBean(sec, secName);
         privilegedRegisterMBean(inv, invName);
      }
      catch (Exception x)
      {
         logger.error("MBeanServerInterceptorConfigurator cannot be registered", x);
         throw new ImplementationException();
      }

      // Now register the delegate
      try
View Full Code Here

Examples of org.apache.geronimo.management.geronimo.WebAccessLog.error()

                }
                renderRequest.setAttribute("toDate", cal2.getTime());
                renderRequest.setAttribute("fromDate", cal1.getTime());
                searchView.include(renderRequest, renderRespose);
            } else {
                log.error("No web containers found");
            }
        } else {
            log.error("No web managers found");
        }
    }
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.