Examples of CompilerError


Examples of org.codehaus.plexus.compiler.CompilerError

          "Error while executing the external compiler.", e);
    }

    if (returnCode != 0 && messages.isEmpty()) {
      // TODO: exception?
      messages.add(new CompilerError(
          "Failure executing the compiler, but could not parse the error:"
              + EOL + stringWriter.toString(), true));
    }

    return messages;
View Full Code Here

Examples of org.codehaus.plexus.compiler.CompilerError

        boolean compilationError = false;

        for ( Iterator i = messages.iterator(); i.hasNext(); )
        {
            CompilerError message = (CompilerError) i.next();

            if ( message.isError() )
            {
                compilationError = true;
            }
        }

        if ( compilationError )
        {
            throw new CompilationFailureException( messages );
        }
        else
        {
            for ( Iterator i = messages.iterator(); i.hasNext(); )
            {
                CompilerError message = (CompilerError) i.next();

                getLog().warn( message.toString() );
            }
        }
    }
View Full Code Here

Examples of org.quorum.vm.interfaces.CompilerError

                    vm.getCompilerErrors().iterator(file.getAbsolutePath());
            Document document = result.getSnapshot().getSource().getDocument(false);
            List<ErrorDescription> nbErrors = new ArrayList<ErrorDescription>();
            while(errors.hasNext()) {
                ErrorDescription errorDescription;
                CompilerError error = errors.next();
                errorDescription = ErrorDescriptionFactory.createErrorDescription(
                        Severity.ERROR, error.getError(),
                        document,
                        error.getLineNumber());
                nbErrors.add(errorDescription);
            }
            HintsController.setErrors(document, "quorum", nbErrors);
        } catch (Exception ex) { //there's really no point to logging these
        }
View Full Code Here

Examples of org.rascalmpl.library.experiments.Compiler.RVM.Interpreter.CompilerError

    return vf.datetime(cal.getTimeInMillis());
  }

  @Override
  public IValue visitExternal(Type externalType) {
    throw new CompilerError("Can't handle ExternalType.");
  }
View Full Code Here

Examples of org.rascalmpl.library.experiments.Compiler.RVM.Interpreter.CompilerError

    return this.generate(rt.getType(maxDepth));
  }

  @Override
  public IValue visitVoid(Type type) {
    throw new CompilerError("void has no values.");
  }
View Full Code Here

Examples of sun.tools.java.CompilerError

                (!innerClassDecl &&
                 !member.isStatic() &&
                 !member.isTransient() &&
                 !assertNotImpl(type,false,stack,enclosing,true))) {
                stack.pop(false);
                throw new CompilerError("");
            }

            // Clean up primitive constant values...

            if (constant && type.isPrimitive()) {
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.