- Sort Score
- Num 10 results
- Language All
Results 961 - 970 of 2,310 for rethrow (0.54 seconds)
-
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRulePostProcess.java
Set<ApiChange> left = new HashSet<>(acceptedApiChanges); left.removeAll(seenApiChanges); if (!left.isEmpty()) { String formattedLeft = CollectionUtils.join("\n", left); throw new RuntimeException("The following regressions are declared as accepted, but didn't match any rule:\n\n" + formattedLeft); } }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Jun 09 08:16:49 GMT 2021 - 1.7K bytes - Click Count (0) -
.teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt
when { isRelease -> "promoteReleaseMilestone" else -> "promoteMilestone" } fun promoteFinalReleaseTaskName(): String = when { isMaster -> throw UnsupportedOperationException("No final release job on master branch") isRelease -> "promoteFinalRelease" else -> "promoteFinalBackportRelease" }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Dec 29 08:57:18 GMT 2025 - 2.5K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/AsyncRequestBody.kt
requestBodySinks.add(sink) } override fun isDuplex(): Boolean = true @Throws(InterruptedException::class) fun takeSink(): BufferedSink = requestBodySinks.poll(5, SECONDS) ?: throw AssertionError("no sink to take") fun assertNoMoreSinks() { assertTrue(requestBodySinks.isEmpty()) }
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) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/LookupException.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 Lookup} service. * * @since 4.0.0 */ @Experimental public class LookupException extends MavenException { public LookupException(String message) { super(message); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 25 21:57:56 GMT 2025 - 1.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/LogNotificationHelperTest.java
helper.init(); // destroy() cancels the task and flushes; should not throw helper.destroy(); } @Test public void test_destroy_beforeInit() { LogNotificationHelper helper = new LogNotificationHelper(); // destroy() without init() should not throw NPE because of null checks helper.destroy(); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 6.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java
} @MapFeature.Require(absent = SUPPORTS_REMOVE) public void testRemove_unsupportedNotPresent() { try { assertNull( "remove(notPresent) should return null or throw UnsupportedOperationException", getMap().remove(k3())); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); expectMissing(e3()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 5.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/JdkBackedImmutableBiMap.java
V oldValue = forwardDelegate.putIfAbsent(e.getKey(), e.getValue()); if (oldValue != null) { throw conflictException("key", e.getKey() + "=" + oldValue, entryArray[i]); } K oldKey = backwardDelegate.putIfAbsent(e.getValue(), e.getKey()); if (oldKey != null) { throw conflictException("value", oldKey + "=" + e.getValue(), entryArray[i]); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 4.9K bytes - Click Count (0) -
src/main/java/jcifs/context/BaseContext.java
*/ @Override public SmbResource get(final String url) throws CIFSException { try { return new SmbFile(url, this); } catch (final MalformedURLException e) { throw new CIFSException("Invalid URL " + url, e); } } /** * * {@inheritDoc} * * @see jcifs.CIFSContext#getPipe(java.lang.String, int) */ @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/DefaultBeanConfigurationRequest.java
if (Objects.requireNonNull(groupId, "groupId cannot be null").isEmpty()) { throw new IllegalArgumentException("groupId cannot be empty"); } if (Objects.requireNonNull(artifactId, "artifactId cannot be null").isEmpty()) { throw new IllegalArgumentException("artifactId cannot be empty"); } if (model != null) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketWriter.kt
} finally { writerClosed = true } } @Throws(IOException::class) private fun writeControlFrame( opcode: Int, payload: ByteString, ) { if (writerClosed) throw IOException("closed") val length = payload.size require(length <= PAYLOAD_BYTE_MAX) { "Payload size must be less than or equal to $PAYLOAD_BYTE_MAX" } val b0 = B0_FLAG_FIN or opcodeCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 6K bytes - Click Count (0)