- Sort Score
- Num 10 results
- Language All
Results 3401 - 3410 of 3,747 for throwIf (0.05 seconds)
-
src/main/java/org/codelibs/fess/entity/PingResponse.java
if (StringUtil.isBlank(message)) { message = "{}"; } } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Gets the status. * * @return the status */ public int getStatus() { return status; }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 6.4K bytes - Click Count (2) -
src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java
logger.debug("WildcardQuery: query={}, boost={}", query, boost); } return convertWildcardQuery(context, wildcardQuery, boost); } throw new InvalidQueryException(messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY), "Unknown q: " + query.getClass() + " => " + query); } /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 5.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/WebAuthentication.java
private WebConfig webConfig; public WebAuthenticationConfig getWebAuthenticationConfig() { if (StringUtil.isEmpty(getUsername())) { throw new CrawlerSystemException( "Username is empty in WebAuthentication configuration. A valid username must be provided for authentication."); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 10 01:38:30 GMT 2026 - 5.7K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt
buildScanTags = listOf("Check"), subprojects = JsonBasedGradleSubprojectProvider(File("./subprojects.json")), ) val testClassDataJson = File(System.getProperty("inputTestClassDataJson") ?: throw IllegalArgumentException("Input file not found!")) val generatedBucketsJson = File(System.getProperty("outputBucketSplitJson", "./test-buckets.json"))
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Apr 10 15:09:32 GMT 2025 - 7.3K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt
} } .build() val response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString()) if (response.statusCode() > 399) { throw RuntimeException("Failed to get pull requests: $uri ${response.statusCode()} ${response.body()}") } return Gson().fromJson(response.body(), klass) } privateCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jun 24 07:54:08 GMT 2025 - 5.7K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt
val responseHeaders = response.headers for (i in 0 until responseHeaders.size) { println(responseHeaders.name(i) + ": " + responseHeaders.value(i)) } throw IOException("Unexpected code $response") } println(response.body.string()) for (peerCertificate in response.handshake?.peerCertificates.orEmpty()) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 8.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java
expectAdded(0, e0()); } @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX) @CollectionSize.Require(absent = ZERO) /* * absent = ZERO isn't required, since unmodList.add() must * throw regardless, but it keeps the method name accurate. */ public void testAddAtIndex_unsupportedPresent() { assertThrows(UnsupportedOperationException.class, () -> getList().add(0, e0())); expectUnchanged(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java
} @CollectionSize.Require(ZERO) @ListFeature.Require(absent = SUPPORTS_SET) public void testSet_unsupportedByEmptyList() { try { getList().set(0, e3()); fail("set() should throw UnsupportedOperationException or IndexOutOfBoundsException"); } catch (UnsupportedOperationException | IndexOutOfBoundsException expected) { } expectUnchanged(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java
try { java.lang.reflect.Field f = target.getClass().getDeclaredField(name); f.setAccessible(true); return f.get(target); } catch (Exception e) { throw new RuntimeException(e); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NbtExceptionTest.java
*/ @Test @DisplayName("NbtException should be catchable as CIFSException") void testCatchableAsCIFSException() { try { throw new NbtException(NbtException.ERR_NAM_SRVC, NbtException.FMT_ERR); } catch (CIFSException e) { assertTrue(e instanceof NbtException, "Caught exception should be an instance of NbtException");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.9K bytes - Click Count (0)