- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 432 for throwable (0.05 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTest.kt
} try { testHttpUrl(testData) if (KNOWN_FAILURES.contains(testData.toString())) { System.err.println("Expected failure but was success: $testData") } } catch (e: Throwable) { if (KNOWN_FAILURES.contains(testData.toString())) { System.err.println("Ignoring known failure: $testData") e.printStackTrace() } else { throw e } } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java
assertTrue(exception instanceof FessSystemException); assertTrue(exception instanceof RuntimeException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } public void test_serialVersionUID() { // Test that the exception has a serialVersionUID field FessUserNotFoundException exception1 = new FessUserNotFoundException("user1");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.6K 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) -
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) -
src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java
// Verify it's an instance of RuntimeException assertTrue(runtimeException instanceof RuntimeException); assertTrue(runtimeException instanceof Exception); assertTrue(runtimeException instanceof Throwable); } public void test_stackTrace() { // Create a ServletException with a specific message String errorMessage = "Stack trace test error";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/message/MessageFormatter.java
if (pattern != null) { return MessageFormat.format(pattern, args); } return getNoPatternMessage(args); } catch (final Throwable ignore) { return getNoPatternMessage(args); } } /** * Returns the pattern string corresponding to the message code. * * @param messageCode
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java
assertTrue(exception instanceof FessSystemException); assertTrue(exception instanceof RuntimeException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } public void test_stackTraceForMessageOnlyConstructor() { // Test that stack trace is not writable when using message-only constructor
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/SmbResourceException.java
* @param errorCode the SMB error code * @param resourceType the type of resource * @param cause the cause exception */ public SmbResourceException(String message, int errorCode, ResourceType resourceType, Throwable cause) { super(message, errorCode, Severity.TRANSIENT, Category.RESOURCE, cause); this.resourceType = resourceType; this.availableResources = -1; this.requestedResources = -1; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 5.6K bytes - Viewed (0)