- Sort Score
- Num 10 results
- Language All
Results 461 - 470 of 2,692 for Exception (0.08 seconds)
-
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) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/HelpTest.java
} @Test void testHelpExecuteReturnsZero() throws Exception { UpgradeContext context = createMockContext(); int result = help.execute(context); assertEquals(0, result, "Help goal should return 0 (success)"); } @Test void testHelpExecuteDoesNotThrow() throws Exception { UpgradeContext context = createMockContext();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Aug 29 12:46:51 GMT 2025 - 3.4K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java
private Artifact projectArtifact; @BeforeEach @Override public void setUp() throws Exception { super.setUp(); projectArtifact = createLocalArtifact("project", "3.0"); } @Override protected DefaultRepositorySystemSession initRepoSession() throws Exception { DefaultRepositorySystemSession session = super.initRepoSession();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 26 10:49:22 GMT 2025 - 10.1K 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)