Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 213 for message1 (0.26 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

        }
    
        private String join(String message1, String message2) {
            String message = "";
    
            if (message1 != null && !message1.isEmpty()) {
                message = message1.trim();
            }
    
            if (message2 != null && !message2.isEmpty()) {
                if (message != null && !message.isEmpty()) {
                    if (message.endsWith(".") || message.endsWith("!") || message.endsWith(":")) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ModelBuildingExceptionTest.java

    class ModelBuildingExceptionTest {
    
        @Test
        void testMessage() {
            DefaultModelProblem pb1 =
                    new DefaultModelProblem("message1", ModelProblem.Severity.ERROR, null, "source", 0, 0, "modelId", null);
            DefaultModelProblem pb2 =
                    new DefaultModelProblem("message2", ModelProblem.Severity.ERROR, null, "source", 0, 0, "modelId", null);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java

            collector.add(null, "MESSAGE1", -1, -1, null);
    
            Exception e2 = new Exception();
            collector.add(Severity.WARNING, null, 42, 127, e2);
    
            assertEquals(2, collector.getProblems().size());
    
            Problem p1 = collector.getProblems().get(0);
            assertEquals(Severity.ERROR, p1.getSeverity());
            assertEquals("MESSAGE1", p1.getMessage());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. compat/maven-builder-support/src/test/java/org/apache/maven/building/ProblemCollectorFactoryTest.java

    class ProblemCollectorFactoryTest {
    
        @Test
        void testNewInstance() {
            ProblemCollector collector1 = ProblemCollectorFactory.newInstance(null);
    
            Problem problem = new DefaultProblem("MESSAGE1", null, null, -1, -1, null);
            ProblemCollector collector2 = ProblemCollectorFactory.newInstance(Collections.singletonList(problem));
    
            assertNotSame(collector1, collector2);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/validation/ModelValidationResult.java

            messages.add(message);
        }
    
        public String toString() {
            return render("");
        }
    
        public String render(String indentation) {
            if (messages.size() == 0) {
                return indentation + "There were no validation errors.";
            }
    
            StringBuilder message = new StringBuilder();
    
            //        if ( messages.size() == 1 )
            //        {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. compat/maven-builder-support/src/main/java/org/apache/maven/building/ProblemCollector.java

         * @param cause The cause of the problem, may be {@code null}.
         */
        void add(Problem.Severity severity, String message, int line, int column, Exception cause);
    
        /**
         * The next messages will be bound to this source. When calling this method again, previous messages keep
         * their source, but the next messages will use the new source.
         *
         * @param source a source
         */
        void setSource(String source);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoExecutionException.java

         */
        public MojoExecutionException(String message, Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Construct a new <code>MojoExecutionException</code> exception providing a <code>message</code>.
         *
         * @param message
         */
        public MojoExecutionException(String message) {
            super(message);
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. istioctl/pkg/analyze/analyze.go

    						fmt.Fprintln(cmd.ErrOrStderr(), "\t", a)
    					}
    				}
    				fmt.Fprintln(cmd.ErrOrStderr())
    			}
    
    			// Get messages for output
    			outputMessages := result.Messages.SetDocRef("istioctl-analyze").FilterOutLowerThan(outputThreshold.Level)
    
    			// Print all the messages to stdout in the specified format
    			output, err := formatting.Print(outputMessages, msgOutputFormat, colorize)
    			if err != nil {
    				return err
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 31 06:53:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. istioctl/pkg/precheck/precheck.go

    	}
    
    	var messages diag.Messages = make([]diag.Message, 0)
    
    	if minor <= 21 {
    		// ENHANCED_RESOURCE_SCOPING
    		if err := checkPilot(cli, ctx.IstioNamespace(), &messages); err != nil {
    			return nil, err
    		}
    	}
    	if minor <= 21 {
    		if err := checkPassthroughTargetPorts(cli, &messages); err != nil {
    			return nil, err
    		}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 02:31:32 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java

         *
         * @throws MojoExecutionException if an unexpected problem occurs.
         * Throwing this exception causes a "BUILD ERROR" message to be displayed.
         * @throws MojoFailureException if an expected problem (such as a compilation failure) occurs.
         * Throwing this exception causes a "BUILD FAILURE" message to be displayed.
         */
        void execute() throws MojoExecutionException, MojoFailureException;
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top