Examples of addWarning()


Examples of de.fosd.typechef.VALexer.addWarning()

    public Conditional<LexerResult> run(VALexer.LexerFactory lexerFactory, ILexerOptions options, boolean returnTokenList) throws LexerException, IOException {
        VALexer pp = lexerFactory.create(options.getSmallFeatureModel());

        for (Warning w : options.getWarnings())
            pp.addWarning(w);
        for (Feature f : options.getFeatures())
            pp.addFeature(f);

        PreprocessorListener listener = new PreprocessorListener(pp, options);
        pp.setListener(listener);
View Full Code Here

Examples of de.innovationgate.wgpublisher.webtml.utils.TMLContext.addwarning()

                }
            }

            theLog.error(msg, throwable);
           
            context.addwarning(msg + ". Exception message: " + throwable.getMessage() + ". Exception type: " + throwable.getClass().getName());
        }
        else {
            theLog.error(msg);
            context.addwarning(msg);
        }
View Full Code Here

Examples of de.innovationgate.wgpublisher.webtml.utils.TMLContext.addwarning()

           
            context.addwarning(msg + ". Exception message: " + throwable.getMessage() + ". Exception type: " + throwable.getClass().getName());
        }
        else {
            theLog.error(msg);
            context.addwarning(msg);
        }

    }

    public static List getLookupKeys(Context cx, Scriptable thisObj, java.lang.Object[] args, Function funObj) throws JavaScriptException {
View Full Code Here

Examples of de.plushnikov.intellij.lombok.problem.ProblemNewBuilder.addWarning()

        if (null != containingClass) {
          final PsiField lockField = containingClass.findFieldByName(lockFieldName, true);
          if (null != lockField) {
            if (!lockField.hasModifierProperty(PsiModifier.FINAL)) {
              problemNewBuilder.addWarning(String.format("Synchronization on a non-final field %s.", lockFieldName),
                  PsiQuickFixFactory.createModifierListFix(lockField, PsiModifier.FINAL, true, false));
            }
            UserMapKeys.addReadUsageFor(lockField);
          } else {
            final PsiClassType javaLangObjectType = PsiType.getJavaLangObject(containingClass.getManager(), GlobalSearchScope.allScope(containingClass.getProject()));
View Full Code Here

Examples of de.plushnikov.intellij.lombok.problem.ProblemNewBuilder.addWarning()

        if (null != containingClass) {
          final PsiField lockField = containingClass.findFieldByName(lockFieldName, true);
          if (null != lockField) {
            if (!lockField.hasModifierProperty(PsiModifier.FINAL)) {
              problemNewBuilder.addWarning(String.format("Synchronization on a non-final field %s.", lockFieldName),
                  QuickFixFactory.getInstance().createModifierListFix(lockField, PsiModifier.FINAL, true, false));
            }
          } else {
            problemNewBuilder.addError(String.format("The field %s does not exist.", lockFieldName))//TODO add QuickFix for creating this field
          }
View Full Code Here

Examples of de.plushnikov.intellij.plugin.problem.ProblemNewBuilder.addWarning()

        if (null != containingClass) {
          final PsiField lockField = containingClass.findFieldByName(lockFieldName, true);
          if (null != lockField) {
            if (!lockField.hasModifierProperty(PsiModifier.FINAL)) {
              problemNewBuilder.addWarning(String.format("Synchronization on a non-final field %s.", lockFieldName),
                  PsiQuickFixFactory.createModifierListFix(lockField, PsiModifier.FINAL, true, false));
            }
            UserMapKeys.addReadUsageFor(lockField);
          } else {
            final PsiClassType javaLangObjectType = PsiType.getJavaLangObject(containingClass.getManager(), GlobalSearchScope.allScope(containingClass.getProject()));
View Full Code Here

Examples of liquibase.exception.Warnings.addWarning()

          SqlGeneratorChain sqlGeneratorChain) {
    Warnings warnings = super.warn(modifyDataTypeStatement, database, sqlGeneratorChain);

    if (database instanceof MySQLDatabase
            && !modifyDataTypeStatement.getNewDataType().toLowerCase().contains("varchar")) {
      warnings.addWarning("modifyDataType will lose primary key/autoincrement/not null settings for mysql."
              + "  Use <sql> and re-specify all configuration if this is the case");
    }

    return warnings;
  }
View Full Code Here

Examples of org.apache.derby.iapi.sql.ResultSet.addWarning()

    if (activation != null) {

      ResultSet rs = activation.getResultSet();

            if (rs != null) {
                rs.addWarning(w);
            }
    }
  }

  public final SQLWarning getWarnings() {
View Full Code Here

Examples of org.apache.derby.iapi.sql.ResultSet.addWarning()

    if (activation != null) {

      ResultSet rs = activation.getResultSet();

            if (rs != null) {
                rs.addWarning(w);
            }
    }
  }

  public final SQLWarning getWarnings() {
View Full Code Here

Examples of org.apache.derby.iapi.sql.ResultSet.addWarning()

    if (activation != null) {

      ResultSet rs = activation.getResultSet();

            if (rs != null) {
                rs.addWarning(w);
            }
    }
  }

  public final SQLWarning getWarnings() {
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.