Examples of ProblemImpl


Examples of com.eclipsesource.jshint.internal.ProblemImpl

      character = -1;
    } else if( character > 0 ) {
      character = visualToCharIndex( text, line, character );
    }
    String message = reason.endsWith( "." ) ? reason.substring( 0, reason.length() - 1 ) : reason;
    return new ProblemImpl( line, character, message, code );
  }
View Full Code Here

Examples of org.apache.tuscany.sca.assembly.builder.impl.ProblemImpl

     * @param message
     * @param model
     */
     private void warning(String message, Object model, Object... messageParameters) {
       if (monitor != null) {
          Problem problem = new ProblemImpl(this.getClass().getName(), "contribution-validation-messages", Severity.WARNING, model, message, (Object[])messageParameters);
          monitor.problem(problem);
       }
     }
View Full Code Here

Examples of org.apache.tuscany.sca.assembly.builder.impl.ProblemImpl

      * @param message
      * @param model
      */
     private void error(String message, Object model, Object... messageParameters) {
       if (monitor != null) {
           Problem problem = new ProblemImpl(this.getClass().getName(), "contribution-validation-messages", Severity.ERROR, model, message, (Object[])messageParameters);
           monitor.problem(problem);
       }
     }
View Full Code Here

Examples of org.apache.tuscany.sca.assembly.builder.impl.ProblemImpl

     * @param model
     * @param messageParameters
     */
    protected void warning(String message, Object model, String... messageParameters) {
        if (monitor != null){
            Problem problem = new ProblemImpl(this.getClass().getName(), "assembly-xml-validation-messages", Severity.WARNING, model, message, (Object[])messageParameters);
            monitor.problem(problem);
        }
    }
View Full Code Here

Examples of org.apache.tuscany.sca.assembly.builder.impl.ProblemImpl

     * @param message
     * @param model
     */
    protected void error(String message, Object model, Object... messageParameters) {
      if (monitor != null) {
          Problem problem = new ProblemImpl(this.getClass().getName(), "assembly-xml-validation-messages", Severity.ERROR, model, message, (Object[])messageParameters);
          monitor.problem(problem);
      }
    }
View Full Code Here

Examples of org.apache.tuscany.sca.assembly.builder.impl.ProblemImpl

     * @param message
     * @param model
     */
    protected void error(String message, Object model, Exception ex) {
      if (monitor != null) {
          Problem problem = new ProblemImpl(this.getClass().getName(), "assembly-xml-validation-messages", Severity.ERROR, model, message, ex);
          monitor.problem(problem);
      }
    }
View Full Code Here

Examples of org.apache.tuscany.sca.assembly.builder.impl.ProblemImpl

     * @param message
     * @param model
     */
     private void error(String message, Object model, Exception ex) {
       if (monitor != null) {
         Problem problem = new ProblemImpl(this.getClass().getName(), "contribution-validation-messages", Severity.ERROR, model, message, ex);
           monitor.problem(problem);
       }       
     }
View Full Code Here

Examples of org.apache.tuscany.sca.assembly.builder.impl.ProblemImpl

     * @param message
     * @param model
    */
    private void error(String message, Object model, Exception ex) {
        if (monitor != null) {
          Problem problem = new ProblemImpl(this.getClass().getName(), "contribution-validation-messages", Severity.ERROR, model, message, ex);
          monitor.problem(problem);
      }       
    }
View Full Code Here

Examples of org.apache.tuscany.sca.assembly.builder.impl.ProblemImpl

            return artifactType;
        }
       
        private void error(String message, Object model, Exception ex) {
            if (monitor != null) {
              Problem problem = new ProblemImpl(this.getClass().getName(), "contribution-validation-messages", Severity.ERROR, model, message, ex);
              monitor.problem(problem);
          }       
        }
View Full Code Here

Examples of org.apache.tuscany.sca.assembly.builder.impl.ProblemImpl

     * @param message
     * @param binding
     * @param parameters
     */
    private void warning(String message, Interface interfaze, String... messageParameters) {
        Problem problem = new ProblemImpl(this.getClass().getName(), "wsdlgen-validation-messages", Severity.WARNING, interfaze, message, (Object[])messageParameters);
        if (monitor != null) {
            monitor.problem(problem);
        } else {
            logWarning(problem);
        }
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.