Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 1,188 for Exception (0.05 seconds)

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

    /**
     * The Exception class throw by the {@link SettingsBuilder}.
     *
     * @since 4.0.0
     */
    @Experimental
    public class SettingsBuilderException extends MavenBuilderException {
    
        /**
         * @param message the message to give
         * @param e the {@link Exception}
         */
        public SettingsBuilderException(String message, Exception e) {
            super(message, e);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 21:57:56 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java

                    }
                }
            }
            if (causes != null) {
                InvokerException exception = new InvokerException("Unable to close context");
                causes.forEach(exception::addSuppressed);
                throw exception;
            }
        }
    
        public final void closeContainer() throws Exception {
            if (containerCapsuleManaged) {
                doCloseContainer();
            }
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingException.java

     */
    @Deprecated(since = "4.0.0")
    public class ToolchainsBuildingException extends Exception {
    
        private final List<Problem> problems;
    
        /**
         * Creates a new exception with the specified problems.
         *
         * @param problems The problems that cause this exception, must not be {@code null}.
         */
        public ToolchainsBuildingException(List<Problem> problems) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 05 09:37:42 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  4. 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)
  5. guava-tests/test/com/google/common/collect/TestExceptions.java

    import org.jspecify.annotations.NullUnmarked;
    
    /** Exception classes for use in tests. */
    @GwtCompatible
    @NullUnmarked
    final class TestExceptions {
      static class SomeError extends Error {}
    
      static class SomeCheckedException extends Exception {}
    
      static class SomeOtherCheckedException extends Exception {}
    
      static class YetAnotherCheckedException extends Exception {}
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  6. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

        response: Response,
        hostname: String,
        results: MutableList<InetAddress>,
        failures: MutableList<Exception>,
      ) {
        try {
          val addresses = readResponse(hostname, response)
          synchronized(results) {
            results.addAll(addresses)
          }
        } catch (e: Exception) {
          synchronized(failures) {
            failures.add(e)
          }
        }
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/artifact/metadata/TestMetadataSource.java

                Artifact a = null;
                try {
                    a = factory.createBuildArtifact("org.apache.maven", "h", "1.0", "jar");
                    dependencies.add(a);
                } catch (Exception e) {
                    throw new ArtifactMetadataRetrievalException("Error retrieving metadata", e, a);
                }
            }
    
            if ("i".equals(artifact.getArtifactId())) {
                Artifact a = null;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorTest.java

    /**
     */
    class DefaultBeanConfiguratorTest {
    
        private BeanConfigurator configurator;
    
        @BeforeEach
        void setUp() throws Exception {
            configurator = new DefaultBeanConfigurator();
        }
    
        @AfterEach
        void tearDown() throws Exception {
            configurator = null;
        }
    
        private Xpp3Dom toConfig(String xml) {
            try {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeTest.java

    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    class MojoExecutionScopeTest {
        @Test
        void testNestedEnter() throws Exception {
            MojoExecutionScope scope = new MojoExecutionScope();
    
            scope.enter();
    
            Object o1 = new Object();
            scope.seed(Object.class, o1);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  10. tests/test_dependency_after_yield_streaming.py

        with pytest.raises((ValueError, Exception)):
            client.get("/broken-session-stream")
    
    
    def test_broken_session_stream_no_raise():
        """
        When a dependency with yield raises after the streaming response already started
        the 200 status code is already sent, but there's still an error in the server
        afterwards, an exception is raised and captured or shown in the server logs.
        """
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 3.2K bytes
    - Click Count (0)
Back to Top