Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 214 for throws (0.15 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/InProcessGradleExecuter.java

            beforeExecute(executer -> {
                try {
                    FileSystemWatchingHelper.waitForChangesToBePickedUp();
                } catch (InterruptedException e) {
                    throw UncheckedException.throwAsUncheckedException(e);
                }
            });
        }
    
        @Override
        public GradleExecuter reset() {
            DeprecationLogger.reset();
            IncubationLogger.reset();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
       *       UnsupportedOperationException when those mutators are called.
       * </ol>
       *
       * @param collection the presumed-immutable collection
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 20:31:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/FailingBuildAction.java

    public class FailingBuildAction implements BuildAction<SomeToolingModel> {
        @Override
        public SomeToolingModel execute(BuildController controller) {
            controller.getBuildModel();
            throw new RuntimeException("Build action expectedly failed");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
       *       UnsupportedOperationException when those mutators are called.
       * </ol>
       *
       * @param collection the presumed-immutable collection
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 20:31:37 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/annotations/KtEmptyAnnotationsList.kt

        override fun iterator(): Iterator<KaAnnotation> = withValidityAssertion {
            return Collections.emptyIterator()
        }
    
        override fun get(index: Int): KaAnnotation = withValidityAssertion {
            throw IndexOutOfBoundsException("Index $index out of bounds")
        }
    
        override fun contains(classId: ClassId): Boolean = withValidityAssertion {
            return false
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. platforms/enterprise/enterprise/src/test/groovy/org/gradle/internal/enterprise/impl/DefaultGradleEnterprisePluginBackgroundJobExecutorsTest.groovy

        }
    
        def "background job is rejected if submitted after shutdown"() {
            given:
            jobExecutors.stop()
    
            when:
            jobExecutors.userJobExecutor.execute {}
    
            then:
            thrown RejectedExecutionException
        }
    
        def "isInBackground returns proper status from inside the job"() {
            when:
            def task = new FutureTask<>(jobExecutors::isInBackground)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/IntermediateModel.kt

    
    sealed class IntermediateModel {
        abstract fun <T> result(): T?
    
        class NoModel(val message: String) : IntermediateModel() {
            override fun <T> result() = throw UnknownModelException(message)
        }
    
        object NullModel : IntermediateModel() {
            override fun <T> result(): T? = null
        }
    
        class Model(val value: Any) : IntermediateModel() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirFunctionSymbol.kt

                    isStatic = firSymbol.isStatic,
                )
    
                KaSymbolKind.LOCAL -> throw CanNotCreateSymbolPointerForLocalLibraryDeclarationException(
                    callableId?.toString() ?: name.asString()
                )
    
                else -> throw UnsupportedSymbolKind(this::class, kind)
            }
        }
    
        override fun equals(other: Any?): Boolean = symbolEquals(other)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. src/runtime/coro.go

    			print("coro: got lock internal ", mp.lockedInt, ", want ", c.lockedInt, "\n")
    			print("coro: got lock external ", mp.lockedExt, ", want ", c.lockedExt, "\n")
    			throw("coro: OS thread locking must match locking at coroutine creation")
    		}
    	}
    
    	// Acquire tracer for writing for the duration of this call.
    	//
    	// There's a lot of state manipulation performed with shortcuts
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:18 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirAnonymousObjectSymbol.kt

        override fun createPointer(): KaSymbolPointer<KaAnonymousObjectSymbol> = withValidityAssertion {
            KaPsiBasedSymbolPointer.createForSymbolFromSource<KaAnonymousObjectSymbol>(this)?.let { return it }
    
            throw CanNotCreateSymbolPointerForLocalLibraryDeclarationException(this::class)
        }
    
        override fun equals(other: Any?): Boolean = symbolEquals(other)
        override fun hashCode(): Int = symbolHashCode()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top