- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,968 for Exceptions (0.09 sec)
-
src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java
// Log the exception for debugging purposes but don't fail the test System.out.println("Expected exception in test environment: " + t.getClass().getSimpleName() + ": " + t.getMessage()); // Verify that it's a system-related exception, not a method signature issue
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 8.9K bytes - Viewed (0) -
docs/es/docs/tutorial/handling-errors.md
{* ../../docs_src/handling_errors/tutorial002.py hl[14] *} ## Instalar manejadores de excepciones personalizados Puedes agregar manejadores de excepciones personalizados con <a href="https://www.starlette.io/exceptions/" class="external-link" target="_blank">las mismas utilidades de excepciones de Starlette</a>. Supongamos que tienes una excepción personalizada `UnicornException` que tú (o un paquete que usas) podría lanzar.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 9.6K bytes - Viewed (0) -
docs/pt/docs/tutorial/handling-errors.md
{* ../../docs_src/handling_errors/tutorial002.py hl[14] *} ## Instalando manipuladores de exceções customizados Você pode adicionar manipuladores de exceção customizados com <a href="https://www.starlette.io/exceptions/" class="external-link" target="_blank">a mesma seção de utilidade de exceções presentes no Starlette</a>
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
} @Test @DisplayName("Delegation should handle exceptions from delegate") void testExceptionHandling() { // Given RuntimeException testException = new RuntimeException("Test exception"); when(mockDelegate.getResponseTimeout()).thenThrow(testException); // When & Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
int securityInfo = OWNER_SECURITY_INFORMATION; querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, fid, securityInfo); // Constructor should initialize the object without throwing exceptions assertNotNull(querySecurityDesc); // Test toString contains the expected values to verify field initialization String str = querySecurityDesc.toString();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
// Wait for completion for (Thread t : threads) { t.join(); } // Verify thread safety - no unexpected exceptions assertEquals(0, exceptionCount.get(), "Should not have unexpected exceptions"); // At least some threads should complete successfully assertTrue(successfulThreads.get() > 0, "At least some threads should complete successfully");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java
final Exception cause = new RuntimeException("Test cause"); // Execute final SsoMessageException exception = new SsoMessageException(messageCode, null, cause); // Verify assertNotNull(exception); assertNull(exception.getMessage()); assertEquals(cause, exception.getCause()); assertEquals(messageCode, exception.getMessageCode()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 33.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
NullPointerException exception = assertThrows(NullPointerException.class, () -> { smbComTreeDisconnect = new SmbComTreeDisconnect(null); }); // Verify the exception message indicates the config is null assertTrue(exception.getMessage().contains("config")); } /** * Test constructor with mock configuration
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java
// Escapers operate on characters: no characters, no escaping. Assert.assertEquals("", escaper.escape("")); // Assert that escapers throw null pointer exceptions. try { escaper.escape((String) null); Assert.fail("exception not thrown when escaping a null string"); } catch (NullPointerException e) { // pass } } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 3.8K bytes - Viewed (0)