Examples of error()


Examples of com.dotcms.repackage.com.caucho.quercus.env.Env.error()

        String prepend = env.getIniString("auto_prepend_file");
        if (prepend != null) {
          Path prependPath = env.lookup(env.createString(prepend));

          if (prependPath == null)
            env.error("auto_prepend_file '{0}' not found.", prepend);
          else {
            QuercusPage prependPage = php.parse(prependPath);
            prependPage.executeTop(env);
          }
        }
View Full Code Here

Examples of com.dragome.compiler.utils.Log.error()

        DragomeJsCompiler.compiler.compileCount++;
      }
      catch (RuntimeException ex)
      {
        DragomeJsCompiler.errorCount++;
        logger.error(ex.toString());

        if (DragomeJsCompiler.compiler.failOnError)
        {
          throw ex;
        }
View Full Code Here

Examples of com.dtolabs.rundeck.core.execution.BaseLogger.error()

        PluginLogger pluginLogger1 = pluginLogger.get();
        if (null != baseLogger1) {
            switch (level) {
                case Logger.FATAL:
                case Logger.ERROR:
                    baseLogger1.error(message);
                    break;
                case Logger.WARN:
                    baseLogger1.warn(message);
                    break;
                case Logger.DEBUG:
View Full Code Here

Examples of com.dtrules.session.DTState.error()

               }else{
                   state.debug("test: << "+tests[i]+" >> expected: "+tests[i+1]+" result:"+result+" --FAILED\n");
               }
               state.debug("\n");
            }catch(Exception e){
               state.error(" Exception Thrown:\n");
               state.error("test: "+tests[i]+"expected: "+tests[i+1]+" result: Exception thrown --FAILED\n");
               state.error(e+"\n");
            }
        }   
      }
View Full Code Here

Examples of com.enterprisedt.util.debug.Logger.error()

            // this will appear with the level set to INFO
            log.info("This is an info message");

            // this will appear with the level set to INFO
            log.error("This is an error message");

        } catch (Exception e) {
            e.printStackTrace();
        }
View Full Code Here

Examples of com.gargoylesoftware.htmlunit.DefaultCssErrorHandler.error()

                        defaultHandler.warning(exception);
                }

                public void error(CSSParseException exception) throws CSSException {
                    if (!ignore(exception))
                        defaultHandler.error(exception);
                }

                public void fatalError(CSSParseException exception) throws CSSException {
                    if (!ignore(exception))
                        defaultHandler.fatalError(exception);
View Full Code Here

Examples of com.github.jknack.antlr4ide.console.Console.error()

    Console console = createMock(Console.class);

    console.info("ANTLR Tool v%s (%s)", ToolOptionsProvider.VERSION, toolPath.toFile());
    console.info("%s %s", fileName, Joiner.on(" ").join(command));
    console.info("warning: warning message");
    console.error("error: undefined rule: 'x'");

    console.error("\n%s warning(s)\n", 1);
    console.error("%s error(s)\n", 1);

    console.error("BUILD FAIL");
View Full Code Here

Examples of com.guokr.simbase.SimCallback.error()

                            }
                            break;
                        }
                    } catch (Exception e) {
                        if (e instanceof IndexOutOfBoundsException) {
                            callback.error(String.format("Invalid arguments for command '%s'", request.name()));
                        } else {
                            callback.error(e.getMessage());
                        }
                        callback.response();
                    }
View Full Code Here

Examples of com.intellij.openapi.diagnostic.Logger.error()

                break;
            case LogChute.WARN_ID:
                log.warn(s);
                break;
            case LogChute.ERROR_ID:
                log.error(s);
                break;
            default:
                log.warn(s);
        }
    }
View Full Code Here

Examples of com.liferay.portal.kernel.log.Log.error()

    if ((level == LogService.LOG_DEBUG) && log.isDebugEnabled()) {
      log.debug(message, logEntry.getException());
    }
    else if ((level == LogService.LOG_ERROR) && log.isErrorEnabled()) {
      log.error(message, logEntry.getException());
    }
    else if ((level == LogService.LOG_INFO) && log.isInfoEnabled()) {
      log.info(message, logEntry.getException());
    }
    else if ((level == LogService.LOG_WARNING) && log.isWarnEnabled()) {
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.