Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for logMessage (0.06 sec)

  1. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

                    throw e; // Re-throw to ensure the compilation fails
                }
            } else {
                logMessage(Diagnostic.Kind.NOTE, "Content unchanged. Skipping file update.");
            }
        }
    
        private void logMessage(Diagnostic.Kind kind, String message) {
            processingEnv.getMessager().printMessage(kind, message);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Sep 16 06:25:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

                String longMessage = null;
    
                if (t instanceof AbstractMojoExecutionException) {
                    longMessage = ((AbstractMojoExecutionException) t).getLongMessage();
                } else if (t instanceof MojoException) {
                    longMessage = ((MojoException) t).getLongMessage();
                }
    
                if (longMessage != null && !longMessage.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoFailureException.java

         *
         * @param source
         * @param shortMessage
         * @param longMessage
         */
        public MojoFailureException(Object source, String shortMessage, String longMessage) {
            super(shortMessage);
            this.source = source;
            this.longMessage = longMessage;
        }
    
        /**
         * Construct a new <code>MojoFailureException</code> exception providing a message.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoExecutionException.java

         *
         * @param source
         * @param shortMessage
         * @param longMessage
         */
        public MojoExecutionException(Object source, String shortMessage, String longMessage) {
            super(shortMessage);
            this.source = source;
            this.longMessage = longMessage;
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojoExecutionException.java

     */
    package org.apache.maven.plugin;
    
    /**
     * Base exception.
     *
     */
    public abstract class AbstractMojoExecutionException extends Exception {
        protected Object source;
    
        protected String longMessage;
    
        public AbstractMojoExecutionException(String message) {
            super(message);
        }
    
        public AbstractMojoExecutionException(String message, Throwable cause) {
            super(message, cause);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top