Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for Throw (0.07 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformIntegrationTest.groovy

                abstract class BrokenTransform implements TransformAction<TransformParameters.None> {
                    BrokenTransform() {
                        throw new RuntimeException("broken")
                    }
                    void transform(TransformOutputs outputs) {
                        throw new IllegalArgumentException("broken")
                    }
                }
                ${configurationAndTransform('BrokenTransform')}
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:42 UTC 2023
    - 100.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java

                    formatter.append(" is private.");
                    throw new ClassGenerationException(formatter.toString());
                }
                if (Modifier.isFinal(modifiers)) {
                    TreeFormatter formatter = new TreeFormatter();
                    formatter.node(type);
                    formatter.append(" is final.");
                    throw new ClassGenerationException(formatter.toString());
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 100.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

              },
              directExecutor());
        } else {
          switch (state.get()) {
            case SUBSUMED:
              throw new IllegalStateException(
                  "Cannot call finishToFuture() after deriving another step");
    
            case WILL_CREATE_VALUE_AND_CLOSER:
              throw new IllegalStateException(
                  "Cannot call finishToFuture() after calling finishToValueAndCloser()");
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 98.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/ClosingFuture.java

              },
              directExecutor());
        } else {
          switch (state.get()) {
            case SUBSUMED:
              throw new IllegalStateException(
                  "Cannot call finishToFuture() after deriving another step");
    
            case WILL_CREATE_VALUE_AND_CLOSER:
              throw new IllegalStateException(
                  "Cannot call finishToFuture() after calling finishToValueAndCloser()");
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 98.7K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy

        }
    
        void isTransformed(String from, String to) {
            def dirs = allOutputDirs(from, to)
            if (dirs.size() == 0) {
                throw new AssertionError("Could not find $from -> $to in output: $output")
            }
            if (dirs.size() > 1) {
                throw new AssertionError("Found $from -> $to more than once in output: $output")
            }
            assert output.count("into " + dirs.first()) == 1
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 97.8K bytes
    - Viewed (0)
  6. src/main/webapp/js/admin/bootstrap.min.js.map

    expectedTypes = configTypes[property]\n        const value         = config[property]\n        const valueType     = value && Util.isElement(value)\n          ? 'element' : toType(value)\n\n        if (!new RegExp(expectedTypes).test(valueType)) {\n          throw new Error(\n            `${componentName.toUpperCase()}: ` +\n            `Option \"${property}\" provided type \"${valueType}\" ` +\n            `but expected type \"${expectedTypes}\".`)\n        }\n      }\n    }\n  },\n\n  findShadowRoot(element)...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 07 10:28:50 UTC 2020
    - 185.8K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

            .build()
        assertFailsWith<IOException> {
          getResponse(newRequest("/"))
        }.also { expected ->
          when (expected) {
            is SSLException, is TlsFatalAlert -> {}
            else -> throw expected
          }
        }
      }
    
      // TODO(jwilson): tests below this marker need to be migrated to OkHttp's request/response API.
      @Test
      fun connectViaHttpsWithSSLFallback() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  8. src/main/webapp/js/bootstrap.min.js.map

    expectedTypes = configTypes[property]\n        const value         = config[property]\n        const valueType     = value && Util.isElement(value)\n          ? 'element' : toType(value)\n\n        if (!new RegExp(expectedTypes).test(valueType)) {\n          throw new Error(\n            `${componentName.toUpperCase()}: ` +\n            `Option \"${property}\" provided type \"${valueType}\" ` +\n            `but expected type \"${expectedTypes}\".`)\n        }\n      }\n    }\n  },\n\n  findShadowRoot(element)...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sat Jan 11 06:54:28 UTC 2020
    - 189.9K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CacheTest.kt

        assertThat(get(url).body.string()).isEqualTo("A")
    
        // Confirm the interceptor isn't exercised.
        client =
          client.newBuilder()
            .addNetworkInterceptor(Interceptor { chain: Interceptor.Chain? -> throw AssertionError() })
            .build()
        assertThat(get(url).body.string()).isEqualTo("A")
      }
    
      @Test
      fun iterateCache() {
        // Put some responses in the cache.
        server.enqueue(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    			// the SchemaValidator would need to call out to CEL. This test
    			// shows that a rule that would otherwise be an error has those
    			// fields ignored (CRD validation shoulds will throw error in this case)
    			name: "anyOf rule ignored",
    			obj: map[string]interface{}{
    				"key":  "value",
    				"key2": "value",
    			},
    			schema: &schema.Structural{
    				Generic: schema.Generic{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
Back to top