Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,379 for Exception (0.05 sec)

  1. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

            executor.shutdown();
    
            // Then - No unexpected exceptions
            assertTrue(exceptions.isEmpty(), "No unexpected exceptions should occur");
        }
    
        /**
         * Test that CopyOnWriteArrayList prevents ConcurrentModificationException.
         */
        @Test
        public void testNoConcurrentModificationException() throws Exception {
            // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

       * @param exceptionType the exception type that triggers use of {@code fallback}. The exception
       *     type is matched against the input's exception. "The input's exception" means the cause of
       *     the {@link ExecutionException} thrown by {@code input.get()} or, if {@code get()} throws a
       *     different kind of exception, that exception itself. To avoid hiding bugs and other
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            assertFalse(component.isCloseCalled());
    
            try {
                failingFactory.destroyObject(pooledObject);
                fail("Should throw exception from close()");
            } catch (Exception e) {
                // Expected - exception should propagate from close()
                assertTrue(e.getMessage().contains("Intentional close failure"));
            }
    
            // Verify close was attempted
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 13:07:01 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

        void testExceptionHierarchy() {
            // When
            RuntimeCIFSException exception = new RuntimeCIFSException("Test");
    
            // Then
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        @DisplayName("Should support exception chaining")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

             * @param request the request data
             * @param exceptionList the list of exceptions that occurred during retries
             */
            void onRequestEnd(FaultTolerantClient client, RequestData request, List<Exception> exceptionList);
    
            /**
             * Called when an exception occurs during a request attempt.
             *
             * @param client the fault-tolerant client
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

                        conn.connect();
                        successCount.incrementAndGet();
                    } catch (Exception e) {
                        synchronized (exceptions) {
                            exceptions.add(e);
                        }
                        failureCount.incrementAndGet();
                    } finally {
                        doneLatch.countDown();
                    }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/project/DefaultDependencyResolutionResult.java

            return unresolvedDependencies;
        }
    
        @Override
        public List<Exception> getCollectionErrors() {
            return collectionErrors;
        }
    
        public void setCollectionErrors(List<Exception> exceptions) {
            if (exceptions != null) {
                this.collectionErrors = exceptions;
            } else {
                this.collectionErrors = new ArrayList<>();
            }
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top