Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1161 - 1170 of 1,947 for threw (0.01 sec)

  1. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

              for (Service service : servicesByState().values()) {
                if (service.state() != NEW) {
                  servicesInBadStates.add(service);
                }
              }
              throw new IllegalArgumentException(
                  "Services started transitioning asynchronously before "
                      + "the ServiceManager was constructed: "
                      + servicesInBadStates);
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (1)
  2. guava-tests/test/com/google/common/eventbus/PackageSanityTests.java

        }
    
        private static Method subscriberMethod() {
          try {
            return DummySubscriber.class.getMethod("handle", Object.class);
          } catch (NoSuchMethodException e) {
            throw new AssertionError(e);
          }
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesTransformTest.java

        @Override
        public String apply(Integer input) {
          if (input.intValue() == VALID_INPUT_DATA) {
            return RESULT_DATA;
          } else {
            throw WRAPPED_EXCEPTION;
          }
        }
      }
    
      public void testFutureGetThrowsFunctionException() throws Exception {
        inputFuture.set(EXCEPTION_DATA);
        listener.assertException(WRAPPED_EXCEPTION);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/execution/DefaultRuntimeInformation.java

        }
    
        @Override
        public void initialize() throws InitializationException {
            String mavenVersion = rtInfo.getMavenVersion();
    
            if (mavenVersion == null || mavenVersion.isEmpty()) {
                throw new InitializationException("Unable to read Maven version from maven-core");
            }
    
            applicationVersion = new DefaultArtifactVersion(mavenVersion);
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

          return HttpUrl(
            scheme = scheme ?: throw IllegalStateException("scheme == null"),
            username = encodedUsername.percentDecode(),
            password = encodedPassword.percentDecode(),
            host = host ?: throw IllegalStateException("host == null"),
            port = effectivePort(),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  6. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt

      }
    
      private var started: Boolean = false
    
      @Synchronized override fun before() {
        if (started) return
        try {
          start()
        } catch (e: IOException) {
          throw RuntimeException(e)
        }
      }
    
      @JvmName("-deprecated_port")
      fun getPort(): Int = port
    
      fun toProxyAddress(): Proxy {
        before() // This implicitly starts the delegate.
        return delegate.proxyAddress
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 00:19:42 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/DcerpcBinding.java

                        major = Integer.parseInt(iface.substring(c + 1, p));
                        minor = Integer.parseInt(iface.substring(p + 1));
                        return;
                    }
                }
                throw new DcerpcException("Bad endpoint: " + endpoint);
            }
            if (options == null) {
                options = new HashMap();
            }
            options.put(key, val);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

                }
                ArtifactRepository localRepo = new MetadataRepository(result);
                metadata.storeInLocalRepository(localRepo, localRepo);
                merged = true;
            } catch (Exception e) {
                throw new RepositoryException(e.getMessage(), e);
            }
        }
    
        @Override
        public boolean isMerged() {
            return merged;
        }
    
        @Override
        public String getGroupId() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/PlatformRegistry.kt

        if (Build.VERSION.SDK_INT == 0) {
          return Jdk9Platform.buildIfSupported()
            ?: Platform()
        }
    
        throw IllegalStateException("Expected Android API level 21+ but was ${Build.VERSION.SDK_INT}")
      }
    
      actual val isAndroid: Boolean
        get() = true
    
      var applicationContext: Context?
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/ReserializedSafeTreeMapMapInterfaceTest.java

      }
    
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        NavigableMap<String, Integer> map = new SafeTreeMap<>();
        map.put("one", 1);
        map.put("two", 2);
        map.put("three", 3);
        return SerializableTester.reserialize(map);
      }
    
      @Override
      protected SortedMap<String, Integer> makeEmptyMap() throws UnsupportedOperationException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Mar 18 18:06:40 UTC 2022
    - 1.7K bytes
    - Viewed (0)
Back to top