- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 3,207 for Throw (0.07 sec)
-
guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java
if (cause instanceof RuntimeException) { throw (RuntimeException) cause; } else if (cause instanceof Error) { throw (Error) cause; } } throw e; } @Override public V get() throws ExecutionException, InterruptedException { try { super.get(); } catch (ExecutionException e) { rethrow(e); } throw new AssertionError("Unreachable"); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 12 20:02:10 UTC 2018 - 3.2K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/FileArchOnlyBinaryInfo.groovy
throw new UnsupportedOperationException("Only getting the architecture is supported using the file utility") } @Override List<BinaryInfo.Symbol> listDebugSymbols() { throw new UnsupportedOperationException("Only getting the architecture is supported using the file utility") } @Override String getSoName() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java
if (cause instanceof RuntimeException) { throw (RuntimeException) cause; } else if (cause instanceof Error) { throw (Error) cause; } } throw e; } @Override public V get() throws ExecutionException, InterruptedException { try { super.get(); } catch (ExecutionException e) { rethrow(e); } throw new AssertionError("Unreachable"); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 12 20:02:10 UTC 2018 - 3.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java
public boolean addAll(Collection<? extends E> elementsToAdd) { throw up(); } @Override public boolean removeAll(Collection<?> elementsToRemove) { throw up(); } @Override public boolean retainAll(Collection<?> elementsToRetain) { throw up(); } @Override public void clear() { throw up(); } private static UnsupportedOperationException up() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 3.8K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/SendPartialResponseThenBlock.java
throw failure; } try { condition.await(waitMs, TimeUnit.MILLISECONDS); } catch (InterruptedException e) { throw UncheckedException.throwAsUncheckedException(e); } } if (failure != null) { throw failure; } } finally {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt
} catch (e: IOException) { eventListener.requestFailed(call, e) trackFailure(e) throw e } } @Throws(IOException::class) fun finishRequest() { try { codec.finishRequest() } catch (e: IOException) { eventListener.requestFailed(call, e) trackFailure(e) throw e } } fun responseHeadersStart() { eventListener.responseHeadersStart(call)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.2K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/modelreader/impl/TypeMirrorToType.java
} @Override public Type visitError(ErrorType t, Void unused) { throw unsupportedType(t); } @Override public Type visitTypeVariable(TypeVariable t, Void unused) { throw unsupportedType(t); } @Override public Type visitWildcard(WildcardType t, Void unused) { throw unsupportedType(t); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 02 15:44:14 UTC 2023 - 4.6K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/TestManagedExecutor.groovy
stop() } void shutdown() { throw new UnsupportedOperationException() } List<Runnable> shutdownNow() { throw new UnsupportedOperationException() } boolean isShutdown() { throw new UnsupportedOperationException() } boolean isTerminated() { throw new UnsupportedOperationException() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.7K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableMultiset.java
} @Override public int count(@Nullable Object element) { throw new AssertionError(); } @Override public ImmutableSet<E> elementSet() { throw new AssertionError(); } @Override Entry<E> getEntry(int index) { throw new AssertionError(); } @Override boolean isPartialView() { throw new AssertionError(); } @Override public int size() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 23 18:43:40 UTC 2024 - 1.7K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/integTest/groovy/org/gradle/internal/exceptions/DefaultMultiCauseExceptionIntegrationTest.groovy
class DefaultMultiCauseExceptionIntegrationTest extends AbstractIntegrationSpec { def 'when tasks throw exceptions that offer resolutions, those resolutions are included'() { given: buildFile << """ ${defineTestException()} tasks.register('myTask') { doLast { throw new TestResolutionProviderException('resolution1') } } """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 3.5K bytes - Viewed (0)