Examples of warning()


Examples of org.apache.woden.ErrorHandler.warning()

        ErrorHandler eh =
            (fErrorHandler != null) ? fErrorHandler : fDefaultErrorHandler;
       
        if(severity == SEVERITY_WARNING) {
            eh.warning(errorInfo);
        }
        else if(severity == SEVERITY_ERROR) {
            eh.error(errorInfo);
        }
        else if(severity == SEVERITY_FATAL_ERROR) {
View Full Code Here

Examples of org.apache.xerces.xni.parser.XMLErrorHandler.warning()

        }

        // call error handler
        switch (severity) {
            case SEVERITY_WARNING: {
                errorHandler.warning(domain, key, parseException);
                break;
            }
            case SEVERITY_ERROR: {
                errorHandler.error(domain, key, parseException);
                break;
View Full Code Here

Examples of org.apache.xml.utils.DefaultErrorHandler.warning()

    TransformerException te = (null == e) ? new TransformerException(fmsg, locator) :
                                          new TransformerException(fmsg, locator, e);
    if(null != handler)
    {
      try{
      handler.warning(te);
      }
      catch (TransformerException te2)
      {
        throw new SAXException(te2);
      }
View Full Code Here

Examples of org.apache.yoko.orb.OB.Logger.warning()

        msg += "\n";
        msg += info.describe_exception();

        Logger logger = ((org.apache.yoko.orb.CORBA.ORB) orb_).logger();
        logger.warning(msg);
    }

    public void destroy() {
        orb_ = null;
    }
View Full Code Here

Examples of org.codehaus.dna.impl.SAXConfigurationHandler.warning()

    {
        final SAXConfigurationHandler handler = new SAXConfigurationHandler();
        final SAXParseException spe = new SAXParseException( "", null );
        try
        {
            handler.warning( spe );
        }
        catch( final SAXException se )
        {
            assertEquals( spe, se );
            return;
View Full Code Here

Examples of org.fao.geonet.Logger.warning()

                errors.add(new HarvestError(e, logger));
                error = e;
                operResult = OperResult.ERROR;
            } catch (Throwable t) {
                operResult = OperResult.ERROR;
                logger.warning("Raised exception while harvesting from : " + nodeName);
                logger.warning(" (C) Class   : " + t.getClass().getSimpleName());
                logger.warning(" (C) Message : " + t.getMessage());
                error = t;
                t.printStackTrace();
                errors.add(new HarvestError(t, logger));
View Full Code Here

Examples of org.jpos.transaction.participant.BSHTransactionParticipant.warning()

        Logger logger = new Logger();
        SimpleLogSource bSHTransactionParticipant = new BSHTransactionParticipant();
        logger.addListener(null);
        bSHTransactionParticipant.setLogger(logger, "testSimpleLogSourceRealm");
        try {
            bSHTransactionParticipant.warning("testSimpleLogSourceDetail");
            fail("Expected NullPointerException to be thrown");
        } catch (NullPointerException ex) {
            assertNull("ex.getMessage()", ex.getMessage());
        }
    }
View Full Code Here

Examples of org.objectweb.celtix.configuration.impl.TypeSchema.TypeSchemaErrorHandler.warning()

        } catch (SAXParseException ex) {
            // ignore;
        }
       
        try {
            eh.warning(spe);
            fail("Expected SAXParseException not thrown.");
        } catch (SAXParseException ex) {
             // ignore;
        }
       
View Full Code Here

Examples of org.openbel.framework.common.SimpleOutput.warning()

            ValidationResult vr = validationService.validate(document);
            for (String e : vr.getErrors()) {
                if (permissive) {
                    numWarnings++;
                    if (!quiet) {
                        reportable.warning("VALIDATION WARNING: " + e);
                    }
                } else {
                    numErrors++;
                    if (!quiet) {
                        reportable.error("VALIDATION ERROR: " + e);
View Full Code Here

Examples of org.owasp.esapi.Logger.warning()

    public static void main(String[] args) {

        try {
            Logger logger = ESAPI.getLogger("ESAPILogging");
           
            logger.warning(Logger.SECURITY_FAILURE, "This is a warning.");
            logger.always(Logger.SECURITY_AUDIT, "This is an audit log. It always logs.");
        } catch(Throwable t) {
            System.err.println("Caught: " + t.getClass().getName() +
                               "; exception msg: " + t);
            t.printStackTrace(System.err);
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.