- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 460 for Throwable (0.04 sec)
-
src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java
assertNull(ex.getCause(), "No cause expected when only message is provided"); // toString behavior mirrors Throwable: includes message when not null String ts = ex.toString(); assertTrue(ts.contains("SmbUnsupportedOperationException"), "toString should contain class name"); if (msg != null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java
assertTrue(ssoException instanceof FessSystemException); assertTrue(ssoException instanceof RuntimeException); assertTrue(ssoException instanceof Exception); assertTrue(ssoException instanceof Throwable); } public void test_constructor_withVariousExceptionTypes() { // Test constructor with different exception types as cause String message = "SSO process failed";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java
assertTrue(exception instanceof RuntimeException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } public void test_stackTrace() { // Test that stack trace is properly set DictionaryException exception = new DictionaryException("Stack trace test");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceBundleUtil.java
assertArgumentNotNull("bundle", bundle); assertArgumentNotEmpty("key", key); try { return bundle.getString(key); } catch (final Throwable t) { return null; } } /** * Converts the resource bundle to a {@link Map}. * * @param bundle the resource bundle (must not be {@literal null})
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.3K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/Android10Platform.kt
AndroidCertificateChainCleaner.buildIfSupported(trustManager) ?: super.buildCertificateChainCleaner(trustManager) override fun log( message: String, level: Int, t: Throwable?, ) { if (level == WARN) { Log.w(Tag, message, t) } else { Log.i(Tag, message, t) } } companion object {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Jul 20 11:25:50 UTC 2025 - 4.5K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java
} assertEquals(true, tearDownOne.ran); assertEquals(true, tearDownTwo.ran); } @Override public final void runBare() throws Throwable { try { setUp(); runTest(); } finally { tearDown(); } } @Override protected void tearDown() { tearDownStack.runTearDown(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 4.6K bytes - Viewed (0) -
samples/crawler/src/main/java/okhttp3/sample/Crawler.java
ExecutorService executor = Executors.newFixedThreadPool(threadCount); for (int i = 0; i < threadCount; i++) { executor.execute(() -> { try { drainQueue(); } catch (Throwable e) { e.printStackTrace(); } }); } executor.shutdown(); } private void drainQueue() throws Exception { for (HttpUrl url; (url = queue.take()) != null; ) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jul 23 00:58:06 UTC 2025 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java
DelegatingInvocationHandler(Object delegate) { this.delegate = checkNotNull(delegate); } @Override protected Object handleInvocation(Object proxy, Method method, Object[] args) throws Throwable { return method.invoke(delegate, args); } @Override public String toString() { return "some arbitrary string"; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 02:48:50 UTC 2024 - 5.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionError.java
* and https://github.com/jspecify/jspecify/issues/490. * * (That would also have ensured that its cause was always an Error, rather than possibly another * kind of Throwable that was later passed to initCause. Then we could have declared the override * `public final Error getCause()`.) */ /** * Creates a new instance with {@code null} as its detail message and no cause. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4K bytes - Viewed (0) -
src/main/java/jcifs/CIFSContext.java
* @param error the error that triggered renewal * @return whether new credentials are obtained */ boolean renewCredentials(String locationHint, Throwable error);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0)