- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 2,324 for exception (0.45 sec)
-
guava-tests/test/com/google/common/base/ThrowablesTest.java
SomeChainingException exception = new SomeChainingException(new SomeChainingException(cause)); assertSame(cause, getRootCause(exception)); } public void testGetRootCause_loop() { Exception cause = new Exception(); Exception exception = new Exception(cause); cause.initCause(exception); IllegalArgumentException expected =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java
} // Test appendException method with nested exception public void test_appendException_nestedException() { StringBuilder buf = new StringBuilder(); Exception cause = new IllegalArgumentException("Root cause"); Exception exception = new RuntimeException("Wrapper exception", cause); monitorTarget.appendException(buf, exception); assertTrue(buf.toString().contains("Wrapper exception"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java
CaseInsensitiveMap<String> map; /** * @throws Exception */ @Before public void setUp() throws Exception { map = new CaseInsensitiveMap<String>(); map.put("one", "1"); map.put("two", "2"); } /** * @throws Exception */ @After public void tearDown() throws Exception { map = null; } /** * @throws Exception
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ClosingFuture.java
* * @param exceptionType the exception type that triggers use of {@code fallback}. The exception * type is matched against this step's exception. "This step's exception" means the cause of * the {@link ExecutionException} thrown by {@link Future#get()} on the {@link Future} * underlying this step or, if {@code get()} throws a different kind of exception, that
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 98.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
MockCallback callback = new MockCallback(e); addCallback(f, callback, directExecutor()); } public void testOnSuccessThrowsRuntimeException() throws Exception { RuntimeException exception = new RuntimeException(); String result = "result"; SettableFuture<String> future = SettableFuture.create(); int[] successCalls = new int[1]; int[] failureCalls = new int[1];
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 6.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java
* errors by throwing an {@link Exception}. Error conditions should provide * sufficient detail to aid troubleshooting.</p> * * @throws Exception if any issue occurs that prevents the successful execution * of the Mojo */ void execute() throws Exception;
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 29 08:21:00 UTC 2025 - 2.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
assertEquals(key, result.get(1)); assertEquals(key + suffix, cache.getUnchecked(key)); } static <T> Callable<T> throwing(Exception exception) { return new Callable<T>() { @Override public T call() throws Exception { throw exception; } }; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 85.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java
} public void test_serialVersionUID() { // Test that the exception is serializable ParseException parseException = new ParseException("Serialization test"); QueryParseException queryParseException = new QueryParseException(parseException); // Verify that the exception can be created and has serialVersionUID assertNotNull(queryParseException);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java
import org.codelibs.core.beans.factory.BeanDescFactory; import org.codelibs.core.exception.MethodNotFoundRuntimeException; import org.junit.Test; /** * @author higa * @author manhole */ public class BeanDescImplTest { /** * @throws Exception */ @Test public void testPropertyDesc() throws Exception { final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 13.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/CloseableUtil.java
* close(is); * } * </pre> * <p> * If an exception occurs in the try block, there is a possibility that an exception will also occur in the finally block's {@link #close(Closeable)}. If the exception is thrown from the finally block, the original exception from the try block will be lost. * </p> * * @param closeable the closeable object * @see Closeable#close() */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.5K bytes - Viewed (0)