- Sort Score
- Num 10 results
- Language All
Results 3321 - 3330 of 3,804 for throws (0.06 seconds)
-
build-logic/src/main/kotlin/okhttp.testing-conventions.gradle.kts
useJUnitPlatform() jvmArgs("-Dokhttp.platform=$platform") if (platform == "loom") { jvmArgs("-Djdk.tracePinnedThreads=short") } if (platform == "openjsse") { if (testJavaVersion > 8) { throw GradleException("OpenJSSE is only supported on Java 8") } } val javaToolchains = project.extensions.getByType<JavaToolchainService>() javaLauncher.set(javaToolchains.launcherFor {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Feb 07 07:16:57 GMT 2026 - 1.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/TlsVersion.kt
when (javaName) { "TLSv1.3" -> TLS_1_3 "TLSv1.2" -> TLS_1_2 "TLSv1.1" -> TLS_1_1 "TLSv1" -> TLS_1_0 "SSLv3" -> SSL_3_0 else -> throw IllegalArgumentException("Unexpected TLS version: $javaName") } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.5K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostFile.kt
url = "https://api.github.com/markdown/raw".toHttpUrl(), body = file.asRequestBody(MEDIA_TYPE_MARKDOWN), ) client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string()) } } companion object { val MEDIA_TYPE_MARKDOWN = "text/x-markdown; charset=utf-8".toMediaType() } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderException.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.api.services; import org.apache.maven.api.annotations.Experimental; /** * The Exception class throw by the {@link ProjectBuilder} service. * * @since 4.0.0 */ @Experimental public class ProjectBuilderException extends MavenException { /** * @param message the message to giveCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 25 21:57:56 GMT 2025 - 1.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/PrompterException.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.api.services; import org.apache.maven.api.annotations.Experimental; /** * The Exception class throw by the {@link Prompter} service. * * @since 4.0.0 */ @Experimental public class PrompterException extends MavenException { public PrompterException(String message) { super(message); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 25 21:57:56 GMT 2025 - 1.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
expectUnchanged(); } @CollectionFeature.Require(absent = SUPPORTS_ADD) public void testAddAll_unsupportedNothing() { try { assertFalse( "addAll(nothing) should return false or throw", collection.addAll(emptyCollection())); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); } @CollectionFeature.Require(SUPPORTS_ADD)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 7.9K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/vagrant/VagrantMachine.java
this.reaperServiceProvider = reaperServiceProvider; } @Inject protected ProgressLoggerFactory getProgressLoggerFactory() { throw new UnsupportedOperationException(); } @Inject protected ExecOperations getExecOperations() { throw new UnsupportedOperationException(); } public void execute(Action<VagrantExecSpec> action) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 7.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SMBProtocolDowngradeException.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb; import jcifs.CIFSException; /** * Exception thrown when an SMB protocol downgrade attack is detected. * Indicates that the negotiated protocol version is lower than expected or required. * * @author mbechler * */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.1K bytes - Click Count (0) -
src/main/java/jcifs/util/transport/TransportException.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.util.transport; import jcifs.CIFSException; /** * Exception class for transport layer errors. * This exception is thrown when transport-related communication errors occur. */ public class TransportException extends CIFSException { /** * */ private static final long serialVersionUID = 3743631204022885618L;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exception/DataStoreCrawlingException.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.exception; import org.codelibs.fess.crawler.exception.CrawlingAccessException; /** * Exception thrown when an error occurs during data store crawling operations. * This exception provides information about the URL where the error occurred * and whether the crawling process should be aborted. */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Nov 19 08:04:23 GMT 2025 - 2.7K bytes - Click Count (0)