Examples of error()


Examples of com.manning.hip.common.CommonLogEntry.error()

            }
          }

          void processingError(String line, @Nullable Throwable t) {
            super.getCounter(LogCounters.LOG_LINE_ERRORS).increment(1);
            log.error("Hit exception parsing line '" + line + "'", t);
          }
        }, tf.records(CommonLogEntry.class));
  }

}
View Full Code Here

Examples of com.mysql.clusterj.core.util.Logger.error()

        boolean infoEnabled = logger.isInfoEnabled();
        logger.debug("Debug here.");
        logger.trace("Trace here.");
        logger.info("Info here.");
        logger.warn("Warn here.");
        logger.error("Error here.");
        logger.fatal("Fatal here.");
    }
}
View Full Code Here

Examples of com.sissi.ucenter.relation.muc.validate.ItemStatus.error()

  public boolean input(JIDContext context, Protocol protocol) {
    JID group = super.build(protocol.parent().getTo());
    for (Item item : protocol.cast(XMucAdmin.class).getItem()) {
      ItemStatus error = this.validator.valdate(context, group, super.build(item.getJid()));
      if (!error.valid()) {
        return this.writeAndReturn(context, protocol, error.error());
      }
    }
    return true;
  }
View Full Code Here

Examples of com.subgraph.vega.api.scanner.IInjectionModuleContext.error()

    if(ctx.hasModuleFailed())
      return;
   
    if(response.isFetchFail()) {
      ctx.setModuleFailed();
      ctx.error(request, response, "during OGNL tests");
      return;
    }
   
    ctx.addRequestResponse(ctx.getCurrentIndex(), request, response);
    if(ctx.incrementResponseCount() < 2)
View Full Code Here

Examples of com.sun.org.apache.xerces.internal.xni.parser.XMLErrorHandler.error()

        XMLErrorHandler eh = getErrorHandler();
        if (eh instanceof ErrorHandlerWrapper) {
            ((ErrorHandlerWrapper)eh).fErrorHandler.error(e);
        }
        else {
            eh.error("","",ErrorHandlerWrapper.createXMLParseException(e));
        }
        // if an XNIException is thrown, just let it go.
        // REVISIT: is this OK? or should we try to wrap it into SAXException?
    }
View Full Code Here

Examples of com.sun.star.io.XStreamListener.error()

                } catch (java.lang.Throwable ex) {
                    // notify any listeners about close
                    for (Enumeration e = listeners.elements(); e.hasMoreElements();) {

                        XStreamListener l = (XStreamListener) e.nextElement();
                        l.error(new com.sun.star.uno.Exception(ex.getClass().getName() + ": " + ex.getMessage()));
                    }
                    if (statsp != null) {
                        statsp.println(ex.getClass().getName() + ": " + ex.getMessage());
                        ex.printStackTrace(statsp);
                    }
View Full Code Here

Examples of com.sun.tools.internal.ws.processor.modeler.wsdl.ConsoleErrorReporter.error()

                out.println(msg);
            }

            @Override
            public void error(SAXParseException exception) {
                cer.error(exception);
            }

            @Override
            public void fatalError(SAXParseException exception) {
                cer.fatalError(exception);
View Full Code Here

Examples of com.sun.tools.internal.xjc.ErrorReceiver.error()

        ErrorReceiver er = Ring.get(ErrorReceiver.class);
        for (QName n : enumBaseTypes) {
            XSSchemaSet xs = Ring.get(XSSchemaSet.class);
            XSSimpleType st = xs.getSimpleType(n.getNamespaceURI(), n.getLocalPart());
            if(st==null) {
                er.error(loc,Messages.ERR_UNDEFINED_SIMPLE_TYPE.format(n));
                continue;
            }

            if(!SimpleTypeBuilder.canBeMappedToTypeSafeEnum(st)) {
                er.error(loc,Messages.ERR_CANNOT_BE_BOUND_TO_SIMPLETYPE.format(n));
View Full Code Here

Examples of com.sun.tools.internal.xjc.util.ErrorReceiverFilter.error()

            if(!check.add(c)) {
                throw new AssertionError(); // detect a loop
            }
            for (CPluginCustomization p : c) {
                if(!p.isAcknowledged()) {
                    ehf.error(
                        p.locator,
                        Messages.format(
                            Messages.ERR_UNACKNOWLEDGED_CUSTOMIZATION,
                            p.element.getNodeName()
                        ));
View Full Code Here

Examples of com.sun.tools.javac.util.Log.error()

            // Check that the container isn't manually
            // present along with repeated instances of
            // its contained annotation.
            ListBuffer<T> manualContainer = ctx.annotated.get(validRepeated.type.tsym);
            if (manualContainer != null) {
                log.error(ctx.pos.get(manualContainer.first()), "invalid.repeatable.annotation.repeated.and.container.present",
                        manualContainer.first().type.tsym);
            }
        }

        // A null return will delete the Placeholder
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.