- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 2,692 for Exception (0.29 seconds)
-
src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java
* Multiple threads call stop() simultaneously - should be safe. */ @Test public void test_stop_concurrentAccess() throws Exception { final int threadCount = 10; final Thread[] threads = new Thread[threadCount]; final Exception[] exceptions = new Exception[threadCount]; for (int i = 0; i < threadCount; i++) { final int index = i; threads[i] = new Thread(() -> {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.8K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java
// Execute final SsoMessageException exception = new SsoMessageException(null, message, cause); // Verify assertNotNull(exception); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); assertNull(exception.getMessageCode()); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.9K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java
private Model read(String pom) throws Exception { String resource = "/poms/validation/" + pom; try (InputStream is = getClass().getResourceAsStream(resource)) { assertNotNull(is, "missing resource: " + resource); return new Model(new MavenStaxReader().read(is)); } } private SimpleProblemCollector validate(String pom) throws Exception {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 33.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
MyException exception3 = new MyException(); MyException sameInstance = new MyException(); exception1.initCause(sameInstance); exception2.initCause(sameInstance); exception3.initCause(exception2); getDone( allAsList(immediateFailedFuture(exception1), immediateFailedFuture(exception3))); });
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
MyException exception3 = new MyException(); MyException sameInstance = new MyException(); exception1.initCause(sameInstance); exception2.initCause(sameInstance); exception3.initCause(exception2); getDone( allAsList(immediateFailedFuture(exception1), immediateFailedFuture(exception3))); });
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java
final Exception cause = new RuntimeException("Underlying error"); // Execute final InvalidQueryException exception = new InvalidQueryException(null, message, cause); // Verify assertNotNull(exception); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); assertNull(exception.getMessageCode()); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
} public void testSetFailure() throws Exception { assertTrue(future.setException(new Exception("failure"))); tester.testFailedFuture("failure"); } public void testSetFailureNull() throws Exception { assertThrows(NullPointerException.class, () -> future.setException(null)); assertFalse(future.isDone()); assertTrue(future.setException(new Exception("failure"))); tester.testFailedFuture("failure"); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.4K bytes - Click Count (0) -
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 otherCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 64.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbExceptionTest.java
// When SmbException exception = new SmbException(ntStatus, false); // Then assertTrue(exception.getMessage().toLowerCase().contains("sharing") || exception.getMessage().toLowerCase().contains("violation") || exception.getMessage().toLowerCase().contains("used") || exception.getMessage().toLowerCase().contains("being used") || exception.getMessage().toLowerCase().contains("process"));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11K bytes - Click Count (0)