- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 2,828 for exception (0.15 seconds)
-
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
} public void testEvilFuture_setFuture() throws Exception { RuntimeException exception = new RuntimeException("you didn't say the magic word!"); AbstractFuture<String> evilFuture = new AbstractFuture<String>() { @Override public void addListener(Runnable r, Executor e) { throw exception; } };
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 45.2K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/converter/TimestampConverterTest.java
import static org.junit.Assert.assertThat; import org.junit.Test; /** * @author higa */ public class TimestampConverterTest { /** * @throws Exception */ @Test public void testGetAsObjectAndGetAsString() throws Exception { final TimestampConverter converter = new TimestampConverter("yyyy/MM/dd HH:mm:ss");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) -
impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
suggester.createIndexIfNothing(); } @AfterClass public static void afterClass() throws Exception { runner.close(); runner.clean(); } @Before public void before() throws Exception { suggester.indexer().deleteAll(); suggester.settings().badword().deleteAll(); suggester.settings().elevateWord().deleteAll();
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 37.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java
public void testNewReference() throws Exception { assertThat(Atomics.newReference().get()).isNull(); } public void testNewReference_withInitialValue() throws Exception { assertThat(Atomics.newReference(null).get()).isNull(); assertEquals(OBJECT, Atomics.newReference(OBJECT).get()); } public void testNewReferenceArray_withLength() throws Exception { int length = 42;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 2.8K bytes - Click Count (0) -
src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java
} /** * @throws Exception */ public void testToBigDecimalForEmptyString() throws Exception { assertNull(BigDecimalConversionUtil.toBigDecimal("")); } /** * @throws Exception */ public void testBigDouble() throws Exception { assertEquals("12500000", BigDecimalConversionUtil.toBigDecimal(12500000D).toString());Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 4.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt
@RegisterExtension val clientTestRule = OkHttpClientTestRule() private var client = clientTestRule.newClient() @AfterEach internal fun tearDown() { factory.close() } @Test fun nonRetryableIOException() { val exception = IOException("Non-handshake exception") assertThat(retryTlsHandshake(exception)).isFalse() }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exception/StorageException.java
/** * Constructs a new storage exception with the specified detail message and cause. * * @param message The detail message. * @param cause The cause of the exception. */ public StorageException(final String message, final Throwable cause) { super(message, cause); } /** * Constructs a new storage exception with the specified detail message. *Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
assertNull(unwrapped); } } @Nested @DisplayName("Exception handling tests") class ExceptionHandlingTests { @Test @DisplayName("doEnum rethrows CIFSException when not UnknownHostException") void doEnum_rethrowsCIFSException_whenNotUnknownHost() throws Exception { // Arrange SmbFile parent = mock(SmbFile.class, RETURNS_DEEP_STUBS);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java
String result = purgeDocJob.execute(); // The job should handle the exception internally but since QueryBuilders.rangeQuery // throws immediately with empty field name, we need to catch it here fail("Expected an exception for empty field name"); } catch (IllegalArgumentException e) { // Expected exception for empty field name
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16.4K bytes - Click Count (0)