Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,867 for exception (0.04 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java

            }
    
            @Test
            @DisplayName("should handle strategy exceptions gracefully")
            void shouldHandleStrategyExceptionsGracefully() throws Exception {
                UpgradeContext context = createMockContext();
                Map<Path, Document> pomMap = Map.of(Paths.get("pom.xml"), mock(Document.class));
    
                // Mock first strategy to throw exception
                when(mockStrategies.get(0).isApplicable(context)).thenReturn(true);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/handling-errors.md

    {* ../../docs_src/handling_errors/tutorial002_py39.py hl[14] *}
    
    ## Install custom exception handlers { #install-custom-exception-handlers }
    
    You can add custom exception handlers with <a href="https://www.starlette.dev/exceptions/" class="external-link" target="_blank">the same exception utilities from Starlette</a>.
    
    Let's say you have a custom exception `UnicornException` that you (or a library you use) might `raise`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/project/DependencyResolutionException.java

                List<Exception> exceptions = result.getResolutionErrors(dependency);
                for (Exception e : exceptions) {
                    msg.append("\t").append(e.getMessage()).append(System.lineSeparator());
                }
            }
    
            for (Exception exception : result.getCollectionErrors()) {
                msg.append(exception.getMessage()).append(System.lineSeparator());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java

                final String message = e.getMessage();
                assertNotNull("Exception message should not be null", message);
                assertFalse("Exception message should not be empty", message.trim().isEmpty());
                assertTrue("Exception message should mention 'inputstream'", message.toLowerCase().contains("inputstream"));
                assertTrue("Exception message should mention 'null'", message.toLowerCase().contains("null"));
            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            }, "Should throw UnknownHostException for non-existent NetBIOS name with type");
    
            // Verify the exception message indicates name resolution failure
            assertTrue(exception.getMessage().contains("NONEXISTENT") || exception.getMessage().contains("unknown")
                    || exception.getMessage().contains("not found"), "Exception message should indicate name resolution failure");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

    Wenn Sie eine Exception in einer Abhängigkeit mit `yield` abfangen, sollten Sie – sofern Sie nicht eine andere `HTTPException` oder Ähnliches auslösen – **die ursprüngliche Exception erneut auslösen**.
    
    Sie können dieselbe Exception mit `raise` erneut auslösen:
    
    {* ../../docs_src/dependencies/tutorial008d_an_py39.py hl[17] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/FilesFileTraverserTest.java

        assertThat(Files.fileTraverser().breadthFirst(rootDir)).containsExactly(rootDir);
      }
    
      public void testFileTraverser_nonExistingFile() throws Exception {
        File file = new File(rootDir, "file-that-doesnt-exist");
    
        assertThat(Files.fileTraverser().breadthFirst(file)).containsExactly(file);
      }
    
      public void testFileTraverser_file() throws Exception {
        File file = newFile("some-file");
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

        protected void createLocalArtifact(Artifact artifact) throws Exception {
            createArtifact(artifact, localRepository());
        }
    
        protected void createRemoteArtifact(Artifact artifact) throws Exception {
            createArtifact(artifact, remoteRepository());
        }
    
        protected void createArtifact(Artifact artifact, ArtifactRepository repository) throws Exception {
            String path = repository.pathOf(artifact);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 09:40:15 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

        }
    
        @AfterClass
        public static void afterClass() throws Exception {
            runner.close();
            runner.clean();
        }
    
        @Before
        public void setUp() throws Exception {
            converter = new AnalyzerConverter(client, settings);
        }
    
        private static void createTestIndex() throws Exception {
            // Create index with custom analyzers
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Logger.java

         *
         * @param level the severity level of the message
         * @param message the message to be logged
         * @param error the associated exception, or null if not applicable
         */
        void log(@Nonnull Level level, @Nonnull String message, @Nullable Throwable error);
    
        /**
         * Logs a debug message without an associated exception.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top