- Sort Score
- Result 10 results
- Languages All
Results 1581 - 1590 of 2,344 for batch (0.02 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java
MetadataGraphVertex entry = cleanGraph.getEntry(); // entry point v.visit(entry); } return cpc; } catch (GraphConflictResolutionException e) { throw new MetadataGraphTransformationException(e); } } // ===================================================================================================
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 5.1K bytes - Viewed (0) -
README.md
``` ### Exception Handling ```java import org.codelibs.core.exception.*; // Runtime exception wrappers eliminate try-catch boilerplate try { // Code that might throw checked exceptions return ClassUtil.newInstance(className); // Wraps checked exceptions automatically } catch (ClassNotFoundRuntimeException e) { // Handle the wrapped exception logger.error("Class not found: " + className, e); } ```Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceUtil.java
final URL url = getResourceNoException(path, extension); if (url == null) { return null; } try { return url.openStream(); } catch (final IOException e) { return null; } } /** * Returns whether the resource exists in the context class loader. * * @param pathRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 14.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
// The important point is that the validation logic exists in the code assertTrue(true, "Negotiate context data length validation exists in code (max 1024 bytes)"); } catch (SMBProtocolDecodingException e) { // If exception thrown, validation is working assertTrue(e.getMessage().contains("Invalid negotiate context data length") || e.getMessage().contains("Buffer too small")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java
*/ @Test public void testIllegalIndexedType() throws Exception { try { ReflectionValueExtractor.evaluate("h.value[1]", new ValueHolder("string")); } catch (Exception e) { // TODO assert exception message } } /** * <p>testIllegalMappedType.</p> * * @throws Exception if any. */ @TestRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 07:09:12 UTC 2025 - 16.9K bytes - Viewed (0) -
docs/bucket/versioning/README.md
minioClient.enableVersioning(EnableVersioningArgs.builder().bucket("my-bucketname").build()); System.out.println("Bucket versioning is enabled successfully"); } catch (MinioException e) { System.out.println("Error occurred: " + e); } } } ``` ### isVersioningEnabled() API ``` public class IsVersioningEnabled {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 12K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt
add(buildCryptoSx(client)) // 521 - server down } add(buildChantra(client)) } private fun getByIp(host: String): InetAddress = try { InetAddress.getByName(host) } catch (e: UnknownHostException) { // unlikely throw RuntimeException(e) }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolverTest.java
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 06 07:24:43 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoConstantsTest.java
// Simple OID format: numbers separated by dots (at least one dot) private static final Pattern OID_PATTERN = Pattern.compile("\\d+(?:\\.\\d+)+"); @Test @DisplayName("Constant values match expected OIDs") void constantValues() { assertEquals("1.3.6.1.5.5.2", SpnegoConstants.SPNEGO_MECHANISM, "SPNEGO_MECHANISM mismatch");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.7K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java
*/ @Test public void testModularOption() { String[] formatted = JavaPathType.patchModule("my.module").option(paths()); assertEquals(2, formatted.length); assertEquals("--patch-module", formatted[0]); assertEquals(toPlatformSpecific("my.module=src/foo.java:src/bar.java"), formatted[1]); } /** * Tests the {@code equals} and {@code hashCode} methods of options. */Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 13 14:20:26 UTC 2025 - 2.9K bytes - Viewed (0)