- Sort Score
- Num 10 results
- Language All
Results 411 - 420 of 578 for Throwable (0.07 seconds)
-
src/main/java/org/codelibs/fess/util/LogNotificationAppender.java
try { helper = ComponentUtil.getLogNotificationHelper(); } catch (final Exception e) { return; } String throwableStr = null; final Throwable thrown = event.getThrown(); if (thrown != null) { final StringWriter sw = new StringWriter(); thrown.printStackTrace(new PrintWriter(sw)); throwableStr = sw.toString();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 6K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
initRepoSession(configuration); try { return projectBuilder.build(pom, configuration).getProject(); } catch (Exception e) { Throwable cause = e.getCause(); if (cause instanceof ModelBuildingException modelBuildingException) { StringBuilder message = new StringBuilder("In: " + pom + "\n\n");
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 20:01:00 GMT 2025 - 7.2K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/TearDownStackTest.java
.hasMessageThat() .isEqualTo("one"); } 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(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 4.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ListeningScheduledExecutorServiceTest.java
static <V> ListenableScheduledFuture<V> of(V value) { return new ImmediateScheduledFuture<>(immediateFuture(value)); } static <V> ListenableScheduledFuture<V> failed(Throwable t) { return new ImmediateScheduledFuture<>(immediateFailedFuture(t)); } ImmediateScheduledFuture(ListenableFuture<V> delegate) { super(delegate); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 6.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java
assertTrue(exception instanceof RuntimeException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } @Test public void test_stackTrace() { // Test that stack trace is properly set DictionaryException exception = new DictionaryException("Stack trace test");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.5K bytes - Click Count (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})
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/SuggestHelperTest.java
} } @Test public void test_indexFromDocuments() { Consumer<Boolean> successCallback = (success) -> { assertTrue(success); }; Consumer<Throwable> errorCallback = (error) -> { assertNotNull(error); }; try { suggestHelper.indexFromDocuments(successCallback, errorCallback); assertTrue(true);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 16.3K bytes - Click Count (0) -
src/main/java/jcifs/context/CIFSContextWrapper.java
@Override public CIFSContext withGuestCrendentials() { return wrap(this.delegate.withGuestCrendentials()); } @Override public boolean renewCredentials(final String locationHint, final Throwable error) { return this.delegate.renewCredentials(locationHint, error); } @Override public NameServiceClient getNameServiceClient() { return this.delegate.getNameServiceClient();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.9K bytes - Click Count (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; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java
} } private static void assertThrows(final Class<? extends Throwable> expectedType, final Runnable runnable) { try { runnable.run(); throw new AssertionError("Expected " + expectedType.getSimpleName() + " to be thrown"); } catch (final Throwable t) { if (!expectedType.isInstance(t)) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 22.7K bytes - Click Count (0)