- Sort Score
- Result 10 results
- Languages All
Results 1041 - 1050 of 1,812 for rethrow (0.18 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainManagerException.java
* under the License. */ package org.apache.maven.api.services; import java.io.Serial; import org.apache.maven.api.annotations.Experimental; /** * The Exception class throw by the {@link ToolchainManager}. * * @since 4.0.0 */ @Experimental public class ToolchainManagerException extends MavenException { @Serial
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Oct 02 21:26:05 UTC 2024 - 1.3K 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()); assertNull(e.getCause()); } catch (Exception e) {
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/test/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistantTest.java
assertEquals("Logic", result[4]); assertEquals("LogicImpl", result[5]); } // Test toBeDisposable with null process public void test_toBeDisposable_nullProcess() { // Should not throw exception invokerAssistant.toBeDisposable(null); } // Test toBeDisposable with valid process public void test_toBeDisposable_validProcess() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindingTest.java
String endpoint = "\\pipe\\unknown"; DcerpcException thrown = assertThrows(DcerpcException.class, () -> { dcerpcBinding.setOption("endpoint", endpoint); }, "Should throw DcerpcException for unknown pipe endpoint."); assertTrue(thrown.getMessage().contains("Bad endpoint"), "Exception message should indicate a bad endpoint."); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java
try { return getToolchainV4(v3Factory.createToolchain(new ToolchainModel(model))); } catch (MisconfiguredToolchainException e) { throw new RuntimeException(e); } } @Nonnull @Override public Optional<org.apache.maven.api.Toolchain> createDefaultToolchain()
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat May 31 07:20:31 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
File tempFile = File.createTempFile(prefix, suffix); tempFile.deleteOnExit(); return tempFile; } catch (IOException e) { throw new RuntimeException(e); } } }; systemHelper.init(); ComponentUtil.register(systemHelper, "systemHelper"); // Initialize DictionaryManager mock
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
assertThrows(SmbException.class, () -> file.getInputStream(), "Getting input stream of non-existent file should throw exception"); } @Test void testInvalidPath() throws Exception { // Test various invalid URL formats that should throw MalformedURLException
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt
.url("https://api.imgur.com/3/image") .post(ProgressRequestBody(requestBody, progressListener)) .build() client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string()) } } private class ProgressRequestBody( private val delegate: RequestBody, private val progressListener: ProgressListener,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponse.java
} @Override protected int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) throws SMBProtocolDecodingException { if (len > this.outputBuffer.length) { throw new SMBProtocolDecodingException("Payload exceeds buffer size"); } System.arraycopy(buffer, bufferIndex, this.outputBuffer, 0, len); return len; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java
.orElse(() -> { if (isApiRequest && ComponentUtil.getFessConfig().getApiAccessTokenRequiredAsBoolean()) { throw new InvalidAccessTokenException("invalid_token", "Access token is requried."); } if (!hasAccessToken || roleSet.isEmpty()) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15.1K bytes - Viewed (0)