- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 162 for getCauses (0.05 sec)
-
src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java
// Test default constructor DictionaryExpiredException exception = new DictionaryExpiredException(); assertNotNull(exception); assertNull(exception.getMessage()); assertNull(exception.getCause()); } public void test_instanceOf() { // Test that exception is instance of RuntimeException DictionaryExpiredException exception = new DictionaryExpiredException();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
assertTrue(future.isDone()); assertNull(tryInternalFastPathGetFailure(future)); CancellationException e = assertThrows(CancellationException.class, () -> future.get()); assertNotNull(e.getCause()); } public void testCancel_notDoneInterrupt() throws Exception { Future<?> future = newFutureInstance(); assertTrue(future.cancel(true)); assertTrue(future.isCancelled());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
assertTrue(future.isDone()); assertNull(tryInternalFastPathGetFailure(future)); CancellationException e = assertThrows(CancellationException.class, () -> future.get()); assertNotNull(e.getCause()); } public void testCancel_notDoneInterrupt() throws Exception { Future<?> future = newFutureInstance(); assertTrue(future.cancel(true)); assertTrue(future.isCancelled());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
return future.get(); } catch (InterruptedException e) { currentThread().interrupt(); throw newWithCause(exceptionClass, e); } catch (ExecutionException e) { wrapAndThrowExceptionOrError(e.getCause(), exceptionClass); throw new AssertionError(); } } /** Implementation of {@link Futures#getChecked(Future, Class, long, TimeUnit)}. */ @CanIgnoreReturnValue @ParametricNullness
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 11.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
return future.get(); } catch (InterruptedException e) { currentThread().interrupt(); throw newWithCause(exceptionClass, e); } catch (ExecutionException e) { wrapAndThrowExceptionOrError(e.getCause(), exceptionClass); throw new AssertionError(); } } /** Implementation of {@link Futures#getChecked(Future, Class, long, TimeUnit)}. */ @CanIgnoreReturnValue @ParametricNullness
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/ConverterRuntimeExceptionTest.java
System.out.println(e.getMessage()); assertThat(e.getPropertyName(), is("hoge")); assertThat(e.getValue(), is((Object) "xxx")); assertThat(e.getCause().getMessage(), is("cause")); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
// Then assertEquals(original.getErrorCode(), retry.getErrorCode()); assertEquals(original.getMessage(), retry.getMessage()); assertEquals(original.getCause(), retry.getCause()); assertNotNull(retry.getContext()); } @Test @DisplayName("Should format message correctly") void testMessageFormatting() { // With custom message
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java
assertTrue("Exception should be system-related", t instanceof RuntimeException || t instanceof AssertionError || (t.getCause() != null && t.getCause() instanceof RuntimeException)); } } public void test_private_methods_exist() throws Exception { Method[] methods = SystemMonitorTarget.class.getDeclaredMethods();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java
public void testGetCause() throws Exception { final Throwable t = new NullPointerException("test"); final ClRuntimeException ex = new ClRuntimeException("ECL0017", asArray(t), t); assertThat(ex.getCause(), is(t)); ex.printStackTrace(); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/sso/SsoAction.java
throw responseManager.new400("Unsupported request type."); } return actionResponse; } catch (final SsoMessageException e) { if (e.getCause() == null) { if (logger.isDebugEnabled()) { logger.debug("Metadata response.", e); } saveInfo(e.getMessageCode()); } else {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.5K bytes - Viewed (0)