Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for LookupException (0.26 sec)

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

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

         */
        @Nonnull
        <T> List<T> lookupList(Class<T> type);
    
        /**
         * Performs a collection lookup for given typed components.
         *
         * @param type The component type.
         * @return The map of components. The map may be empty if no components found.
         * @param <T> The component type.
         * @throws LookupException if there is some provisioning related issue.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/SimpleLookup.java

     */
    package org.apache.maven;
    
    import java.util.List;
    import java.util.Map;
    import java.util.Optional;
    
    import org.apache.maven.api.services.Lookup;
    import org.apache.maven.api.services.LookupException;
    
    public class SimpleLookup implements Lookup {
        private final List<Object> objects;
    
        public SimpleLookup(List<Object> objects) {
            this.objects = objects;
        }
    
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

                @Override
                public <T> T lookup(Class<T> type) {
                    throw new LookupException("empty lookup");
                }
    
                @Override
                public <T> T lookup(Class<T> type, String name) {
                    throw new LookupException("empty lookup");
                }
    
                @Override
                public <T> Optional<T> lookupOptional(Class<T> type) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top