- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 2,134 for Exception (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/dcerpc/ndr/NdrExceptionTest.java
* Test the constructor with a message. * Ensures that the exception is created with the correct message. */ @Test void testConstructorWithMessage() { String testMessage = "This is a test message for NdrException."; NdrException exception = new NdrException(testMessage); assertEquals(testMessage, exception.getMessage(), "The exception message should match the input message."); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.5K bytes - Click Count (0) -
src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java
} testHandle = new HandleInfo("/test/file.txt", guid, fileId, HandleType.DURABLE_V2, 120000, null); } @Test public void testReconnectHandleSuccess() throws Exception { when(mockManager.getHandleForReconnect("/test/file.txt")).thenReturn(testHandle); // Create a test reconnector that succeedsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestInfo; import org.lastaflute.core.direction.exception.ConfigPropertyNotFoundException; public class FessConfigImplTest extends UnitFessTestCase { private FessConfigImpl fessConfig; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); // Create FessConfigImpl with overridden get method for testingCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.9K bytes - Click Count (0) -
README.md
``` ### Exception Handling ```java import org.codelibs.core.exception.*; // Runtime exception wrappers eliminate try-catch boilerplate try { // Code that might throw checked exceptions return ClassUtil.newInstance(className); // Wraps checked exceptions automatically } catch (ClassNotFoundRuntimeException e) { // Handle the wrapped exceptionCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sun Aug 31 02:56:02 GMT 2025 - 12.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java
} } public void testMakeUninterruptible_untimed_uninterrupted() throws Exception { runUntimedInterruptsTest(0); } public void testMakeUninterruptible_untimed_interrupted() throws Exception { runUntimedInterruptsTest(1); } public void testMakeUninterruptible_untimed_multiplyInterrupted() throws Exception { runUntimedInterruptsTest(38); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
assertNotNull(errorHandler, "Error handler should not be null"); // Test error classification for different exception types Exception hardwareError = new RuntimeException("RDMA hardware not supported"); Exception networkError = new java.io.IOException("Network connection failed"); Exception timeoutError = new java.net.SocketTimeoutException("Operation timed out"); // Test fallback logic
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 13.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java
} @Test public void test_valueOf_invalidName() { // Test valueOf with invalid name throws exception try { SsoResponseType.valueOf("INVALID"); fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException e) { // Expected exception assertTrue(e.getMessage().contains("INVALID")); } } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 6.3K bytes - Click Count (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java
assertEquals("MESSAGE", problem.getMessage()); problem = new DefaultProblem(null, null, null, -1, -1, new Exception()); assertEquals("", problem.getMessage()); problem = new DefaultProblem(null, null, null, -1, -1, new Exception("EXCEPTION MESSAGE")); assertEquals("EXCEPTION MESSAGE", problem.getMessage()); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticatorTest.java
public class SpnegoAuthenticatorTest extends UnitFessTestCase { @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); } @Override protected void tearDown(TestInfo testInfo) throws Exception { super.tearDown(testInfo); } @Test public void test_authenticatorInstantiation() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 4.8K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsProblem.java
* * @return The location of the problem, never {@code null}. */ String getLocation(); /** * Gets the exception that caused this problem (if any). * * @return The exception that caused this problem or {@code null} if not applicable. */ Exception getException(); /** * Gets the message that describes this problem. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.5K bytes - Click Count (0)