Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 1,188 for Exception (0.04 seconds)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/metadata/RepositoryMetadataStoreException.java

    /**
     * Problem storing the repository metadata in the local repository.
     *
     */
    public class RepositoryMetadataStoreException extends Exception {
        public RepositoryMetadataStoreException(String message) {
            super(message);
        }
    
        public RepositoryMetadataStoreException(String message, Exception e) {
            super(message, e);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/RepositoryMetadataReadException.java

     *
     */
    @Deprecated
    public class RepositoryMetadataReadException extends Exception {
        public RepositoryMetadataReadException(String message) {
            super(message);
        }
    
        public RepositoryMetadataReadException(String message, Exception e) {
            super(message, e);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/BuildResumptionPersistenceException.java

     * under the License.
     */
    package org.apache.maven.execution;
    
    /**
     * This exception will be thrown when something fails while persisting build resumption data.
     * @see BuildResumptionDataRepository#persistResumptionData
     */
    public class BuildResumptionPersistenceException extends Exception {
        public BuildResumptionPersistenceException(String message, Throwable cause) {
            super(message, cause);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ApplyTest.java

                                        Files.deleteIfExists(path);
                                    } catch (Exception e) {
                                        // Ignore cleanup errors
                                    }
                                });
                    } catch (Exception e) {
                        // Ignore cleanup errors
                    }
                }
            }
        }
    
        @Nested
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 10:39:17 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java

                String wagon, final Exception exception, final int requestType, ArtifactTransferResource artifact) {
            this(wagon, TRANSFER_ERROR, requestType, artifact);
    
            this.exception = exception;
        }
    
        public ArtifactTransferResource getResource() {
            return artifact;
        }
    
        /**
         * @return Returns the exception.
         */
        public Exception getException() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

          throws Exception {
        try {
          future.get();
          fail("Expected ExecutionException");
        } catch (ExecutionException e) {
          assertThat(e).hasCauseThat().isSameInstanceAs(expectedCause);
        }
      }
    
      /** invokeAny(null) throws NPE */
      public void testInvokeAnyImpl_nullTasks() throws Exception {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 26.5K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/TestExceptions.java

    import com.google.common.annotations.GwtCompatible;
    
    /** Exception classes for use in tests. */
    @GwtCompatible
    final class TestExceptions {
      static final class SomeError extends Error {}
    
      static final class SomeCheckedException extends Exception {}
    
      static final class SomeOtherCheckedException extends Exception {}
    
      static final class YetAnotherCheckedException extends Exception {}
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

            org.apache.maven.project.ProjectBuilder projectBuilder =
                    getContainer().lookup(org.apache.maven.project.ProjectBuilder.class);
    
            // single project build entry point
            Exception ex = assertThrows(Exception.class, () -> projectBuilder.build(pomFile, configuration));
            assertTrue(ex.getMessage().contains("Received non-all-whitespace CHARACTERS or CDATA event"));
    
            // multi projects build entry point
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/project/ProjectSorterTest.java

            model.setVersion(version);
            model.setBuild(new Build());
            return new MavenProject(model);
        }
    
        @Test
        void testShouldNotFailWhenPluginDepReferencesCurrentProject() throws Exception {
            MavenProject project = createProject("group", "artifact", "1.0");
    
            Build build = project.getModel().getBuild();
    
            Plugin plugin = createPlugin("other.group", "other-artifact", "1.0");
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  10. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java

     */
    @Deprecated(since = "4.0.0")
    public class SettingsBuildingException extends Exception {
    
        private final List<SettingsProblem> problems;
    
        /**
         * Creates a new exception with the specified problems.
         *
         * @param problems The problems that cause this exception, may be {@code null}.
         */
        public SettingsBuildingException(List<SettingsProblem> problems) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 2.9K bytes
    - Click Count (0)
Back to Top