Examples of error()


Examples of grails.build.logging.GrailsConsole.error()

                    plugin.doWithDynamicMethods(applicationContext);

                    console.addStatus("doWithDynamicMethods for plugin [" + plugin.getName() + "] took " + (System.currentTimeMillis() - pluginTime));
                }
                catch (Throwable t) {
                    console.error(t);
                    console.error("Error configuring dynamic methods for plugin " + plugin + ": " + t.getMessage());
                }
            }
        }
        console.addStatus("doWithDynamicMethods took " + (System.currentTimeMillis() - time));
View Full Code Here

Examples of hudson.model.TaskListener.error()

            @Override public void onFailure(Throwable t) {
                try {
                    // TODO as in RetryStep, we cannot actually print the error message here
                    TaskListener listener = context.get(TaskListener.class);
                    if (t instanceof AbortException) {
                        listener.error(t.getMessage());
                    } else {
                        t.printStackTrace(listener.getLogger());
                    }
                    context.get(Run.class).setResult(Result.FAILURE);
                    context.onSuccess(null);
View Full Code Here

Examples of hudson.util.StreamTaskListener.error()

            @Override
            public void onClosed(Channel c, IOException cause) {
                // Orderly shutdown will have null exception
                if (cause!=null) {
                    offlineCause = new ChannelTermination(cause);
                    cause.printStackTrace(taskListener.error("Connection terminated"));
                } else {
                    taskListener.getLogger().println("Connection terminated");
                }
                closeChannel();
                launcher.afterDisconnect(SlaveComputer.this, taskListener);
View Full Code Here

Examples of io.airlift.log.Logger.error()

            log.info("======== SERVER STARTED ========");

            installCodeCacheGcTrigger();
        }
        catch (Throwable e) {
            log.error(e);
            System.exit(1);
        }
    }

    protected Iterable<? extends Module> getAdditionalModules()
View Full Code Here

Examples of io.undertow.servlet.spec.RequestDispatcherImpl.error()

                            location = servletContext.getDeployment().getErrorPages().getErrorLocation(500);
                        }
                        if (location != null) {
                            RequestDispatcherImpl dispatcher = new RequestDispatcherImpl(location, servletContext);
                            try {
                                dispatcher.error(servletRequestContext, request, response, servletChain.getManagedServlet().getServletInfo().getName(), t);
                            } catch (Exception e) {
                                UndertowLogger.REQUEST_LOGGER.exceptionGeneratingErrorPage(e, location);
                            }
                        } else {
                            if (servletRequestContext.displayStackTraces()) {
View Full Code Here

Examples of java.util.logging.ErrorManager.error()

        super.tearDown();
    }

    public void test_errorStringStringint() {
        ErrorManager em = new ErrorManager();
        em.error(null, new NullPointerException(), ErrorManager.GENERIC_FAILURE);
        em.error("An error message.", null, ErrorManager.GENERIC_FAILURE);
        em.error(null, null, ErrorManager.GENERIC_FAILURE);
    }

    public void test_constants() {
View Full Code Here

Examples of jimm.util.Getopts.error()

* file name.
*/
public static void main(String[] args) {

  Getopts g = new Getopts("a:c:d:e:f:g:h:i:l:np:qr:s:wx:E:R:o:", args);
  if (g.error()) {    // Any bad command line argument?
    usage(null);    // If so, whine and exit
  }

  // Get user's preferences, if any.
  Preferences prefs = Preferences.userRoot().node("/jimm/datavision");
View Full Code Here

Examples of jp.vmi.selenium.selenese.utils.LogRecorder.error()

        jur.startTestCase(testSuite, tc);
        testSuite.getStopWatch().start();
        sw.start();
        jur.setSuccess(tc);
        clr.info("systemOut00");
        clr.error("systemErr00");
        clr.info("systemOut01");
        clr.error("systemErr01");
        clr.info("systemOut02");
        clr.error("systemErr02");
        Thread.sleep(100);
View Full Code Here

Examples of jscicalc.pobject.Mean.error()

  return mean;
    }
   
    public Complex statSumSquares(){
  Mean m = statMean();
  if( m.error() || !(m.value() instanceof Complex) )
      throw new RuntimeException( "Stat Error" );
  Complex e = (Complex)(m.value());
  Complex d = new Complex();
  for( Complex o : statMemory ){
      Complex c = o.subtract( e );
View Full Code Here

Examples of macromedia.asc.util.Context.error()

                    {
                        if (baseClassNode.deferred_subclasses == null)
                        {
                            baseClassNode.deferred_subclasses = new ObjectList<ClassDefinitionNode>();
                        }
                        cx.error(node.baseclass.pos(), kError_ForwardReferenceToBaseClass,baseClassNode.name.name);
                        baseClassNode.deferred_subclasses.add(node);
                        return null;
                    }
                }
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.