Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 40 for setException (0.18 sec)

  1. maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java

         */
        MojoExecution getMojoExecution();
    
        /**
         * Gets the exception that caused the event (if any).
         *
         * @return The exception or {@code null} if none.
         */
        Exception getException();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java

        /**
         * Gets the exception that caused this problem (if any).
         *
         * @return the exception that caused this problem or {@code null} if not applicable
         */
        @Nullable
        Exception getException();
    
        /**
         * Gets the message that describes this problem.
         *
         * @return the message describing this problem, never {@code null}
         */
        @Nonnull
        String getMessage();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                        if (logger.isDebugEnabled()) {
                            for (SettingsProblem problem : result.getProblems()) {
                                logger.debug(problem.getMessage(), problem.getException());
                            }
                        }
    
                        Authentication authentication = new Authentication(server.getUsername(), server.getPassword());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 31.6K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEvent.java

            return session.getCurrentProject();
        }
    
        @Override
        public MojoExecution getMojoExecution() {
            return mojoExecution;
        }
    
        @Override
        public Exception getException() {
            return exception;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 2K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Event.java

        Optional<MojoExecution> getMojoExecution();
    
        /**
         * Gets the exception that caused the event (if any).
         *
         * @return the exception or {@code empty()} if none
         */
        Optional<Exception> getException();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java

                ArtifactTransferResource artifact = wrap(event.getWagon().getRepository(), event.getResource());
    
                ArtifactTransferEvent evt;
                if (event.getException() != null) {
                    evt = new ArtifactTransferEvent(wagon, event.getException(), event.getRequestType(), artifact);
                } else {
                    evt = new ArtifactTransferEvent(wagon, event.getEventType(), event.getRequestType(), artifact);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginArtifactsCache.java

        }
    
        public CacheRecord get(Key key) throws PluginResolutionException {
            CacheRecord cacheRecord = cache.get(key);
    
            if (cacheRecord != null && cacheRecord.getException() != null) {
                throw cacheRecord.getException();
            }
    
            return cacheRecord;
        }
    
        public CacheRecord put(Key key, List<Artifact> pluginArtifacts) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                    org.apache.maven.model.building.ModelProblem cycle = results.stream()
                            .flatMap(r -> r.getProblems().stream())
                            .filter(p -> p.getException() instanceof CycleDetectedException)
                            .findAny()
                            .orElse(null);
                    if (cycle != null) {
                        throw new RuntimeException(new ProjectCycleException(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java

        @Override
        public CacheRecord get(Key key) throws LifecycleExecutionException {
            CacheRecord cacheRecord = cache.get(key);
            if (cacheRecord != null && cacheRecord.getException() != null) {
                throw cacheRecord.getException();
            }
            return cacheRecord;
        }
    
        @Override
        public CacheRecord put(Key key, Set<Artifact> projectArtifacts) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:49 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultBuilderProblem.java

        public int getLineNumber() {
            return lineNumber;
        }
    
        @Override
        public int getColumnNumber() {
            return columnNumber;
        }
    
        @Override
        public Exception getException() {
            return exception;
        }
    
        @Override
        public String getMessage() {
            return message;
        }
    
        @Override
        public Severity getSeverity() {
            return severity;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
Back to top