- Sort Score
- Result 10 results
- Languages All
Results 881 - 890 of 1,812 for rethrow (0.05 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/LookupException.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 Lookup} service. * * @since 4.0.0 */ @Experimental public class LookupException extends MavenException { @Serial private static final long serialVersionUID = -6259322450070320286L;
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Oct 02 21:26:05 UTC 2024 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java
assertEquals(1, entry.idx); assertNotNull(entry.name); assertNull(entry.name.buffer); } @Test @DisplayName("Should throw exception for invalid conformance") void testDecodeInvalidConformance() throws NdrException { // Given: Mocked buffer data with invalid conformance samr.SamrSamEntry entry = new samr.SamrSamEntry();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt
object : ResponseBody() { override fun contentType(): MediaType? = null override fun contentLength(): Long = Int.MAX_VALUE + 1L override fun source(): BufferedSource = throw AssertionError() } assertFailsWith<IOException> { body.bytes() }.also { expected -> assertThat(expected.message).isEqualTo(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12.4K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacDataInputStream.java
final short length = readShort(); final short maxLength = readShort(); final int pointer = readInt(); if (maxLength < length) { throw new PACDecodingException("Malformed string in PAC"); } return new PacUnicodeString(length, maxLength, pointer); } /** * Reads a string with length prefix from the stream.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
public void testConstructorWithNullConfig() { // Given String oldFileName = "old.txt"; String newFileName = "new.txt"; // When & Then - should throw NullPointerException assertThrows(NullPointerException.class, () -> { new SmbComRename(null, oldFileName, newFileName); }); } /** * Test with null file names
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
int bytesRead = readPacket.readTrailerWireFormat(bais, buffer, 0); assertEquals(written, bytesRead); } @Test @DisplayName("readTrailerWireFormat should throw IOException on incomplete data") void testReadTrailerWireFormatIncompleteData() { byte[] buffer = new byte[10]; // Too small buffer ByteArrayInputStream bais = new ByteArrayInputStream(buffer);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/date.js
e.dateFormat&&(f=e.dateFormat);var g=a.formUtils.parseDate(c,f);if(!g)return!1;var h=g[0],i=g[1],j=g[2],k=b(h,i,j),l=(d.valAttr("age-range")||"0-124").split("-");if(d.trigger("ageCalculated",[k]),2!==l.length||!a.isNumeric(l[0])||!a.isNumeric(l[1]))throw new Error("Date range format invalid");return k>=l[0]&&k<=l[1]},errorMessage:"",errorMessageKey:"badDate"})}(a)});...
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 1.6K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt
val certificates = (chain as List<X509Certificate>).toTypedArray() try { return x509TrustManagerExtensions.checkServerTrusted(certificates, "RSA", hostname) } catch (ce: CertificateException) { throw SSLPeerUnverifiedException(ce.message).apply { initCause(ce) } } } override fun equals(other: Any?): Boolean = other is AndroidCertificateChainCleaner && other.trustManager === this.trustManager
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.7K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/SimpleArtifactMetadataSource.java
@Override public ResolutionGroup retrieve( Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories) { throw new UnsupportedOperationException("Cannot retrieve metadata in this test case"); } @Override public List<ArtifactVersion> retrieveAvailableVersions(
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.5K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java
trustManagerFactory.init((KeyStore) null); TrustManager[] trustManagers = trustManagerFactory.getTrustManagers(); if (trustManagers.length != 1 || !(trustManagers[0] instanceof X509TrustManager)) { throw new IllegalStateException("Unexpected default trust managers:" + Arrays.toString(trustManagers)); } return (X509TrustManager) trustManagers[0]; }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Mar 14 21:57:42 UTC 2019 - 6.5K bytes - Viewed (0)