- Sort Score
- Num 10 results
- Language All
Results 631 - 640 of 2,828 for exception (0.06 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
} return 25; }); @Override protected void setUp() throws Exception { super.setUp(); exec = newCachedThreadPool(); task.addListener(listenerLatch::countDown, directExecutor()); } @Override protected void tearDown() throws Exception { if (exec != null) { exec.shutdown(); } super.tearDown(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java
} // Test update with exception handling @Test public void test_update_withException() { TestAuthenticationChain chain = new TestAuthenticationChain(); chain.updateThrowsException = true; User user = createTestUser("testuser", "Test User"); try { chain.update(user); fail("Expected exception to be thrown"); } catch (RuntimeException e) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 14.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbException.java
} /** * Get the NT STATUS code associated with this exception * * @return status code */ public int getNtStatus() { return this.status; } /** * Get the root cause of this exception (deprecated - use getCause() instead) * * @return cause */ @DeprecatedCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java
throw e; } }; } /** Returns a {@link CacheLoader} that throws the given exception for every request. */ static <K, V> CacheLoader<K, V> exceptionLoader(Exception e) { checkNotNull(e); return new CacheLoader<K, V>() { @Override public V load(K key) throws Exception { throw e; } }; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 5.1K bytes - Click Count (0) -
src/main/java/jcifs/util/transport/RequestTimeoutException.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.util.transport; /** * Exception thrown when a request times out during SMB communication. * Indicates that a request could not be completed within the specified timeout period. * * @author mbechler */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
} public void testToString() throws Exception { Service a = new NoOpService(); Service b = new FailStartService(); ServiceManager manager = new ServiceManager(asList(a, b)); String toString = manager.toString(); assertThat(toString).contains("NoOpService"); assertThat(toString).contains("FailStartService"); } public void testTimeouts() throws Exception { Service a = new NoOpDelayedService(50);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 25.6K bytes - Click Count (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/Problem.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: Wed Jan 15 18:51:29 GMT 2025 - 3.4K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/UnresolvableModelException.java
* * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */ @Deprecated(since = "4.0.0") public class UnresolvableModelException extends Exception { /** * The group id of the unresolvable model. */ private final String groupId; /** * The artifact id of the unresolvable model. */ private final String artifactId;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 3.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java
*/ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class JdkFutureAdaptersTest extends TestCase { private static final String DATA1 = "data"; public void testListenInPoolThreadReturnsSameFuture() throws Exception { ListenableFuture<String> listenableFuture = immediateFuture(DATA1); assertThat(listenInPoolThread(listenableFuture)).isSameInstanceAs(listenableFuture); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 10K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java
} @Test public void test_serialVersionUID() { // Test that the exception is serializable ParseException parseException = new ParseException("Serialization test"); QueryParseException queryParseException = new QueryParseException(parseException); // Verify that the exception can be created and has serialVersionUID assertNotNull(queryParseException);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 5.3K bytes - Click Count (0)