- Sort Score
- Result 10 results
- Languages All
Results 2291 - 2300 of 2,742 for throws (0.09 sec)
-
.teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt
fun promoteMilestoneTaskName(): String = when { isRelease -> "promoteReleaseMilestone" else -> "promoteMilestone" } fun promoteFinalReleaseTaskName(): String = when { isMaster -> throw UnsupportedOperationException("No final release job on master branch") isRelease -> "promoteFinalRelease" else -> "promoteFinalBackportRelease" }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 26 12:59:03 UTC 2024 - 3.2K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java
* under the License. */ package org.apache.maven.building; /** * Describes a problem that was encountered during settings building. A problem can either be an exception that was * thrown or a simple string message. In addition, a problem carries a hint about its source, e.g. the settings file * that exhibits the problem. * */ class DefaultProblem implements Problem { private final String source;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderException.java
package org.apache.maven.api.services; import java.io.Serial; import java.util.List; import java.util.stream.Collectors; import org.apache.maven.api.annotations.Experimental; /** * The Exception class throw by the {@link SettingsBuilder}. * * @since 4.0.0 */ @Experimental public class SettingsBuilderException extends MavenException { @Serial
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Oct 02 21:26:05 UTC 2024 - 1.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderException.java
package org.apache.maven.api.services; import java.io.Serial; import java.util.List; import java.util.stream.Collectors; import org.apache.maven.api.annotations.Experimental; /** * The Exception class throw by the {@link ToolchainsBuilder}. * * @since 4.0.0 */ @Experimental public class ToolchainsBuilderException extends MavenException { @Serial
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Oct 02 21:26:05 UTC 2024 - 1.8K bytes - Viewed (0) -
okhttp-android/src/test/kotlin/okhttp3/android/RobolectricOkHttpClientTest.kt
assertThat(response.cacheResponse).isNotNull() } } private fun assumeNetwork() { try { InetAddress.getByName("www.google.com") } catch (uhe: UnknownHostException) { throw AssumptionViolatedException(uhe.message, uhe) } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java
} @BeforeExperiment public void doBefore() { recursionCount = stackDepth - new Throwable().getStackTrace().length - 1; if (recursionCount < 0) { throw new SkipThisScenarioException(); } } @Benchmark public boolean timeFindCaller(int reps) { return timeFindCaller(reps, recursionCount); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LegacyComparable.java
private final String value; LegacyComparable(String value) { this.value = value; } @Override public int compareTo(Object object) { // This method is spec'd to throw CCE if object is of the wrong type LegacyComparable that = (LegacyComparable) object; return this.value.compareTo(that.value); } @Override public boolean equals(@Nullable Object object) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 2.3K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java
} @BeforeExperiment public void doBefore() { recursionCount = stackDepth - new Throwable().getStackTrace().length - 1; if (recursionCount < 0) { throw new SkipThisScenarioException(); } } @Benchmark public boolean timeFindCaller(int reps) { return timeFindCaller(reps, recursionCount); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt
package okhttp3.internal import okhttp3.Headers internal fun Headers.commonName(index: Int): String = namesAndValues.getOrNull(index * 2) ?: throw IndexOutOfBoundsException("name[$index]") internal fun Headers.commonValue(index: Int): String = namesAndValues.getOrNull(index * 2 + 1) ?: throw IndexOutOfBoundsException("value[$index]") internal fun Headers.commonValues(name: String): List<String> { var result: MutableList<String>? = null
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.9K bytes - Viewed (0)