- Sort Score
- Result 10 results
- Languages All
Results 781 - 790 of 2,976 for throwIt (0.04 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
assertEquals(-128, response.getServerData().serverTimeZone); assertEquals(8, response.getServerData().encryptionKeyLength); } @Test public void testReadBytesWireFormatWithoutExtendedSecurity() throws UnsupportedEncodingException { response.getServerData().scapabilities = 0; response.getServerData().encryptionKeyLength = 8; // Domain name in OEM encoding (ASCII) with null terminator
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
android/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];
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 6.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/LatestArtifactTransformation.java
throws ArtifactResolutionException, ArtifactNotFoundException { if (Artifact.LATEST_VERSION.equals(artifact.getVersion())) { try { String version = resolveVersion(artifact, request); if (Artifact.LATEST_VERSION.equals(version)) { throw new ArtifactNotFoundException("Unable to determine the latest version", artifact);Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/WebApiUtil.java
* Throws any stored WebApiException if found. * * @throws WebApiException If a web API exception was previously stored */ public static void validate() { LaRequestUtil.getOptionalRequest().map(req -> (WebApiException) req.getAttribute(WEB_API_EXCEPTION)).ifPresent(e -> { throw e; }); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.2K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt
return certificates.single() as X509Certificate } catch (e: NoSuchElementException) { throw IllegalArgumentException("failed to decode certificate", e) } catch (e: IllegalArgumentException) { throw IllegalArgumentException("failed to decode certificate", e) } catch (e: GeneralSecurityException) { throw IllegalArgumentException("failed to decode certificate", e) } } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java
} public void test_exceptionThrown() { // Test that the exception can be thrown and caught properly String expectedMessage = "Command execution error occurred"; try { throw new CommandExecutionException(expectedMessage); } catch (CommandExecutionException 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.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
* @return a string representing the bulk line for OpenSearch indexing * @throws SuggesterException if an I/O error occurs during the creation of the bulk line */ public static String createBulkLine(final String index, final String type, final SuggestItem item) { if (item == null || item.getId() == null || item.getText() == null) { throw new SuggesterException("Invalid SuggestItem: item, id, or text is null"); }Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 17.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableBiMap.java
/** * @throws IllegalArgumentException if another entry in the bucket has the same key * @throws BucketOverflowException if this bucket has too many entries, which may indicate a hash * flooding attack */ private static void checkNoConflictInValueBucket( Object value, Entry<?, ?> entry, @Nullable ImmutableMapEntry<?, ?> valueBucketHead) throws BucketOverflowException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 11.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/SystemPropertyProfileActivator.java
public void contextualize(Context context) throws ContextException { properties = (Properties) context.get("SystemProperties"); } @Override protected boolean canDetectActivation(Profile profile) { return profile.getActivation() != null && profile.getActivation().getProperty() != null; } @Override public boolean isActive(Profile profile) throws ProfileActivationException {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
try { execJob.execute(); fail("Should throw RuntimeException"); } catch (RuntimeException e) { assertEquals("Test exception", e.getMessage()); } } // Test concurrent modification of jvmOptions public void test_jvmOptions_concurrent() throws InterruptedException { CountDownLatch latch = new CountDownLatch(2);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0)