- Sort Score
- Result 10 results
- Languages All
Results 981 - 990 of 3,030 for thrown (0.05 sec)
-
src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java
break; } } assertTrue(foundTestMethod); } public void test_throwAndCatch() { // Test throwing and catching the exception String message = "Throw and catch test"; try { throw new SearchEngineClientException(message); } catch (SearchEngineClientException e) { assertEquals(message, e.getMessage());Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java
assertEquals(exception1.getClass(), exception2.getClass()); } public void test_throwAndCatch() { // Test throwing and catching the exception String expectedMessage = "SSO configuration error"; try { throw new SsoProcessException(expectedMessage); } catch (SsoProcessException e) { assertEquals(expectedMessage, e.getMessage());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
if (isDone()) { throw new TimeoutException(message + " but future completed as timeout expired"); } throw new TimeoutException(message + " for " + futureToString); } @ParametricNullness @SuppressWarnings("nullness") // TODO(b/147136275): Remove once our checker understands & and |. final V blockingGet() throws InterruptedException, ExecutionException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 33.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java
} /** * {@inheritDoc} * * @throws SMBProtocolDecodingException if there is an error decoding the response * * @see jcifs.internal.smb2.ServerMessageBlock2#haveResponse(byte[], int, int) */ @Override protected void haveResponse(final byte[] buffer, final int start, final int len) throws SMBProtocolDecodingException { if (isRetainPayload()) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
class InvalidConstruction { @Test @DisplayName("Negative maxBuffers throws immediately in constructor") void negativeMaxBuffersThrows() { assertThrows(NegativeArraySizeException.class, () -> new BufferCacheImpl(-1, 10)); } @Test @DisplayName("Negative maxSize throws when allocating a new buffer") void negativeMaxSizeThrowsOnAllocation() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
throw new SearchEngineClientException("Failed to update doc " + id, e); } } /** * Performs bulk update operations using a custom bulk request builder. * * @param consumer Consumer function to configure the bulk request builder * @return true if all bulk operations were successful, false otherwise
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 35.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java
} /** * @throws Exception */ @Test public void testNewInstance() throws Exception { final BeanDesc beanDesc = new BeanDescImpl(Integer.class); assertThat((Integer) beanDesc.newInstance(10), is(10)); assertThat((Integer) beanDesc.newInstance("10"), is(10)); } /** * @throws Exception */ @TestRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
assertNotEquals(oldHash, newHash); // Should be different instance } /** * Test pre-auth integrity with non-SMB3.1.1 should throw exception */ @Test @DisplayName("Pre-auth integrity should fail with non-SMB3.1.1") void testPreauthWithNonSmb311() throws Exception { // Setup SMB3.0 when(negotiateResponse.getSelectedDialect()).thenReturn(DialectVersion.SMB300);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java
import jakarta.validation.ConstraintValidatorContext; public class CronExpressionValidatorTest extends UnitFessTestCase { public CronExpressionValidator validator; @Override public void setUp() throws Exception { super.setUp(); validator = new CronExpressionValidator(); } public void test_isValid_nullValue() { final ConstraintValidatorContext context = null;Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
private Target nullSingleton; @Override public void setUp() throws Exception { super.setUp(); empty = new Target(emptyCollection(), "empty"); /* * We test that nullSingleton.retainAll(disjointList) does NOT throw a * NullPointerException when disjointList does not, so we can't use * MinimalCollection, which throws NullPointerException on calls to * contains(null). */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 10.7K bytes - Viewed (0)