Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for PrompterException (0.1 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/PrompterException.java

     *
     * @since 4.0.0
     */
    @Experimental
    public class PrompterException extends MavenException {
    
        @Serial
        private static final long serialVersionUID = -3505070928479515081L;
    
        /**
         * @param message the message to give
         * @param e the {@link Exception}
         */
        public PrompterException(String message, Exception e) {
            super(message, e);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 02 21:26:05 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/Prompter.java

         * @throws PrompterException if an exception occurs
         */
        @Nonnull
        String promptForPassword(@Nullable String message) throws PrompterException;
    
        /**
         * Displays a message to the user.
         *
         * @param message the message to display
         * @throws PrompterException if an exception occurs
         */
        void showMessage(@Nullable String message) throws PrompterException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Nov 17 15:52:15 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPrompter.java

                return (String) method.invoke(instance, message, possibleValues, defaultReply);
            } catch (Exception e) {
                throw new PrompterException("Unable to call prompter", e);
            }
        }
    
        @Override
        public String promptForPassword(String message) throws PrompterException {
            try {
                Class<?> clazz = container.getContainerRealm().loadClass(PROMPTER_CLASS);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/ConsolePasswordPrompt.java

    import javax.inject.Singleton;
    
    import java.util.List;
    import java.util.Map;
    import java.util.Optional;
    
    import org.apache.maven.api.services.Prompter;
    import org.apache.maven.api.services.PrompterException;
    import org.codehaus.plexus.components.secdispatcher.MasterSource;
    import org.codehaus.plexus.components.secdispatcher.MasterSourceMeta;
    import org.codehaus.plexus.components.secdispatcher.SecDispatcher;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top