Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 135 for throws (0.44 sec)

  1. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

       */
      fun queryParameterName(index: Int): String {
        if (queryNamesAndValues == null) throw IndexOutOfBoundsException()
        return queryNamesAndValues[index * 2]!!
      }
    
      /**
       * Returns the value of the query parameter at `index`. For example this returns `"apple"` for
       * `queryParameterName(0)` on `http://host/?a=apple&b=banana`. This throws if `index` is not less
       * than the [query size][querySize].
       *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGenerator.java

        @SuppressWarnings("unused")
        public static void propertyValueConvertFailure(Class<?> viewType, String propertyName, Object value, TypeConversionException failure) throws UnsupportedPropertyValueException {
            throw new UnsupportedPropertyValueException(String.format("Cannot set property: %s for class: %s to value: %s.", propertyName, viewType.getName(), value), failure);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 55.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/ldap/LdapManager.java

            } catch (final NamingException e) {
                throw new LdapOperationException("Failed to search " + dn, e);
            }
        }
    
        interface SearchConsumer {
            void accept(List<SearchResult> t) throws NamingException;
        }
    
        protected DirContextHolder getDirContext(final Supplier<Hashtable<String, String>> envSupplier) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollectionSpec.groovy

            when:
            collection.setFrom('some', 'more')
    
            then:
            thrown IllegalStateException
    
            when:
            collection.setFrom(['some', 'more'])
    
            then:
            thrown IllegalStateException
        }
    
        def "throws exception when additions to paths after queried when implicitly finalized"() {
            given:
            def file1 = new File('a')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 53K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        private DummyInternalEntry() {
          throw new AssertionError();
        }
    
        @Override
        public DummyInternalEntry getNext() {
          throw new AssertionError();
        }
    
        @Override
        public int getHash() {
          throw new AssertionError();
        }
    
        @Override
        public Object getKey() {
          throw new AssertionError();
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            @Override
            public GeoInfo getGeoInfo() {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public FacetInfo getFacetInfo() {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public String getSort() {
                throw new UnsupportedOperationException();
            }
    
            @Override
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 02:17:23 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/project/DefaultProject.java

            return project(this, path);
        }
    
        @Override
        public ProjectInternal project(ProjectInternal referrer, String path) throws UnknownProjectException {
            ProjectInternal project = getCrossProjectModelAccess().findProject(referrer, this, path);
            if (project == null) {
                throw new UnknownProjectException(String.format("Project with path '%s' could not be found in %s.", path, this));
            }
            return project;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_3x.md

     *  Fix: Release the connection if `Authenticator` throws an exception.
     *  Fix: Change the declaration of `OkHttpClient.cache()` to return a `@Nullable Cache`. The return
        value has always been nullable but it wasn't declared properly.
     *  Fix: Reverse suppression of connect exceptions. When both a call and its retry fail, we now
        throw the initial exception which is most likely to be actionable.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/SetsTest.java

        try {
          units.remove(SomeEnum.B);
          fail("ImmutableEnumSet should throw an exception on remove()");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          units.add(SomeEnum.C);
          fail("ImmutableEnumSet should throw an exception on add()");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 49.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

                then:
                EvaluationContext.CircularEvaluationException ex = thrown()
                assertExceptionHasExpectedCycle(ex, provider, prop)
    
                where:
                consumer << throwingConsumers()
            }
    
            def "calling #consumer throws exception with proper chain if wrapped property sets convention to itself and discards producer"(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
Back to top