- Sort Score
- Result 10 results
- Languages All
Results 621 - 630 of 2,781 for throwIt (0.05 sec)
-
src/test/java/jcifs/SmbPipeHandleTest.java
/** * Verifies that the close method can be called without throwing an exception. * @throws CIFSException if an error occurs during close. */ @Test public void testClose() throws CIFSException { assertDoesNotThrow(() -> smbPipeHandle.close(), "close() should not throw an exception on a mock object."); // Verify that the close method was called
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/query/StoredLtrQueryBuilder.java
} printBoostAndQueryName(builder); builder.endObject(); } @Override protected Query doToQuery(final QueryShardContext context) throws IOException { throw new UnsupportedOperationException("Query processing is not supported."); } @Override protected boolean doEquals(final StoredLtrQueryBuilder other) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/WildcardQueryCommandTest.java
private WildcardQueryCommand queryCommand; @Override protected void setUpChild() throws Exception { // Initialize and register WildcardQueryCommand queryCommand = new WildcardQueryCommand(); queryCommand.register(); } public void test_convertWildcardQuery_defaultField() throws Exception { // Test with default field
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
} public void test_ingest_withException() { // Setup ingester that throws exception TestIngester failingIngester = new TestIngester() { @Override public Map<String, Object> process(Map<String, Object> target, DataStoreParams paramMap) { throw new RuntimeException("Test exception"); } };
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java
default -> null; // Or throw an exception if unexpected token }; } /** * Parses array values from JSON parser. * * @param jsonParser the JSON parser * @return the parsed array as a list * @throws IOException if an I/O error occurs */ protected Object parseArray(final JsonParser jsonParser) throws IOException {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
bindWithNullBinding.encode_in(mockBuffer); }, "Should throw NullPointerException when binding is null"); } @Test @DisplayName("encode_in should use default constructor values") void testEncodeInDefaultConstructor() throws Exception { // Given DcerpcBind defaultBind = new DcerpcBind();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java
assertProvideThrowsException("TestšClassification"); } // Helper method to assert that provide() throws ProvidedClassificationNotFoundException private void assertProvideThrowsException(String classificationName) { try { provider.provide(classificationName); fail("Should throw ProvidedClassificationNotFoundException for: " + classificationName);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java
// Test that execute throws InvalidQueryException when query is not a BoostQuery TermQuery termQuery = new TermQuery(new Term("field", "value")); QueryContext context = new QueryContext("test", false); try { boostQueryCommand.execute(context, termQuery, 1.0f); fail("Should have thrown InvalidQueryException"); } catch (InvalidQueryException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/Authenticate.java
.build(); }) .build(); } public void run() throws Exception { Request request = new Request.Builder() .url("http://publicobject.com/secrets/hellosecret.txt") .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string());
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 12 07:26:27 UTC 2021 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java
throw new IOException("Interrupted during retry delay", e); } } } } // All retries failed if (lastError instanceof IOException) { throw (IOException) lastError; } else {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0)