- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 168 for getCauses (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/context/CIFSContextWrapperTest.java
CIFSException thrown = assertThrows(CIFSException.class, () -> { cifsContextWrapper.get(malformedUrl); }); assertTrue(thrown.getMessage().contains("Invalid URL")); assertTrue(thrown.getCause() instanceof MalformedURLException); } @Test void testGetPipe() throws CIFSException, MalformedURLException { // Test getPipe(String url, int pipeType) method
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.7K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlResponseTest.java
fail("Expected CurlException"); } catch (CurlException e) { assertTrue(e.getMessage().contains("Failed to access the content")); assertSame(exception, e.getCause()); } } @Test public void testGetContentAsStreamWithCache() throws IOException { CurlResponse response = new CurlResponse(); byte[] data = "test content".getBytes();
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 17.7K bytes - Click Count (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(); }
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.6K bytes - Click Count (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 {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 9.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java
waitingThread.start(); waitingThread.interrupt(); ExecutionException expected = assertThrows(ExecutionException.class, wasInterrupted::get); assertTrue(expected.getCause().toString(), expected.getCause() instanceof InterruptedException); } public void testMakeUninterruptible_timedGetZeroTimeoutAttempted() throws TimeoutException, ExecutionException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 8.9K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojoExecutionException.java
} /** * Constructs a new {@code AbstractMojoExecutionException} exception wrapping an underlying {@code Throwable}. * * @param cause the cause which is saved for later retrieval by the {@link #getCause()} method. * A {@code null} value is permitted, and indicates that the cause is nonexistent or unknown. * @since 3.8.3 */ public AbstractMojoExecutionException(Throwable cause) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java
assertNull(exception.getMessage()); } @Test public void test_getCause() { // Test that getCause returns null (no cause set in constructor) UserRoleLoginException exception = new UserRoleLoginException(RootAction.class); assertNull(exception.getCause()); } @Test public void test_throwAndCatch() { // Test throwing and catching the exception try {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
try { method.invoke(wrapper, getParameterValues(method)); fail(method + " failed to throw exception as is."); } catch (InvocationTargetException e) { if (exception != e.getCause()) { throw new RuntimeException(e); } } catch (IllegalAccessException e) { throw new AssertionError(e); } } private static <T> void testEquals(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (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
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 10.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessConfigImpl.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 05 09:31:58 GMT 2026 - 2.7K bytes - Click Count (0)