Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 1,783 for exception (0.08 seconds)

  1. compat/maven-model/src/test/java/org/apache/maven/model/SerializationTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    class SerializationTest {
    
        @Test
        void testModelSerialization() throws Exception {
            Model model;
            try (InputStream is = getClass().getResourceAsStream("/xml/pom.xml")) {
                model = new MavenXpp3Reader().read(is);
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginConfigurationException.java

    import org.codehaus.plexus.component.configurator.expression.ExpressionEvaluationException;
    import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
    
    /**
     */
    public class PluginConfigurationException extends Exception {
        private PluginDescriptor pluginDescriptor;
    
        private String originalMessage;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenContext.java

        }
    
        public SimplexTransferListener simplexTransferListener;
        public Maven maven;
    
        @Override
        public void doCloseContainer() throws Exception {
            try {
                super.doCloseContainer();
            } finally {
                maven = null;
            }
        }
    
        @Override
        public MavenOptions options() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

                Metadata metadata,
                ArtifactRepository repository,
                Exception exception) {
            RepositoryEvent.Builder event = new RepositoryEvent.Builder(session, EventType.METADATA_INVALID);
            event.setTrace(trace);
            event.setMetadata(metadata);
            event.setException(exception);
            event.setRepository(repository);
    
            repositoryEventDispatcher.dispatch(event.build());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ImmutableCollection.java

       */
      int internalArrayEnd() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public abstract boolean contains(@Nullable Object object);
    
      /**
       * Guaranteed to throw an exception and leave the collection unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 21.4K bytes
    - Click Count (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

                                parentFile.mkdirs()
                                writeBytes(classWriter.toByteArray())
                            }
                        } catch (exception: Exception) {
                            throw ClassAnalysisException("Could not transform class from $file", exception)
                        }
                    }
                }
            )
        }
    }
    
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sat Mar 22 03:48:38 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/MapsTest.java

      }
    
      public void testToStringImplWithNullKeys() throws Exception {
        Map<@Nullable String, String> hashmap = new HashMap<>();
        hashmap.put("foo", "bar");
        hashmap.put(null, "baz");
    
        assertEquals(hashmap.toString(), Maps.toStringImpl(hashmap));
      }
    
      public void testToStringImplWithNullValues() throws Exception {
        Map<String, @Nullable String> hashmap = new HashMap<>();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 22:56:33 GMT 2025
    - 62.7K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CacheControlTest.kt

    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isTrue
    import kotlin.test.Test
    import kotlin.time.Duration.Companion.seconds
    
    class CacheControlTest {
      @Test
      @Throws(Exception::class)
      fun emptyBuilderIsEmpty() {
        val cacheControl = CacheControl.Builder().build()
        assertThat(cacheControl.toString()).isEqualTo("")
        assertThat(cacheControl.noCache).isFalse()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  9. compat/maven-builder-support/src/main/java/org/apache/maven/building/ProblemCollector.java

     * @deprecated since 4.0.0, use {@link org.apache.maven.api.services} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ProblemCollector {
    
        /**
         * Adds the specified problem.
         * Either message or exception is required
         *
         * @param severity The severity of the problem, must not be {@code null}.
         * @param message The detail message of the problem, may be {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_dependencies/test_tutorial008c.py

    
    def test_fastapi_error(mod: ModuleType):
        client = TestClient(mod.app)
        with pytest.raises(FastAPIError) as exc_info:
            client.get("/items/portal-gun")
        assert "raising an exception and a dependency with yield" in exc_info.value.args[0]
    
    
    def test_internal_server_error(mod: ModuleType):
        client = TestClient(mod.app, raise_server_exceptions=False)
        response = client.get("/items/portal-gun")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.4K bytes
    - Click Count (0)
Back to Top