Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1021 - 1030 of 1,790 for threw (0.09 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                        true);
            } catch (org.apache.maven.wagon.TransferFailedException e) {
                throw new ArtifactTransferFailedException(getMessage(e, "Error transferring artifact."), e);
            } catch (org.apache.maven.wagon.ResourceDoesNotExistException e) {
                throw new ArtifactDoesNotExistException(getMessage(e, "Requested artifact does not exist."), e);
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbPipeInputStream.java

                    fd.markClosed();
                    return 0;
                }
                return resp.getAvailable();
            }
            catch ( SmbException se ) {
                throw seToIoe(se);
            }
        }
    
    
        @Override
        public void close () {
            // ignore, the shared file descriptor is closed by the pipe handle
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:12:23 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  3. 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);
        }
        Object getOption(String key) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.2K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/configurations/FunctionalTest.kt

                    TestDistribution::class.simpleName -> TestDistribution
                    TeamCityParallelTests::class.simpleName -> TeamCityParallelTests(methodJsonObject.getIntValue("numberOfBatches"))
                    else -> throw IllegalArgumentException("Unknown parallelization method")
                }
            }
        }
    }
    
    class FunctionalTest(
        model: CIBuildModel,
        id: String,
        name: String,
        description: String,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Sep 25 06:14:43 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk9Platform.kt

        // java.lang.reflect.InaccessibleObjectException: Unable to make member of class
        // sun.security.ssl.SSLSocketFactoryImpl accessible:  module java.base does not export
        // sun.security.ssl to unnamed module @xxx
        throw UnsupportedOperationException(
          "clientBuilder.sslSocketFactory(SSLSocketFactory) not supported on JDK 8 (>= 252) or JDK 9+",
        )
      }
    
      override fun newSSLContext(): SSLContext {
        return when {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (1)
  6. okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt

    package okhttp3.internal
    
    import okhttp3.Headers
    
    internal fun Headers.commonName(index: Int): String = namesAndValues.getOrNull(index * 2) ?: throw IndexOutOfBoundsException("name[$index]")
    
    internal fun Headers.commonValue(index: Int): String =
      namesAndValues.getOrNull(index * 2 + 1) ?: throw IndexOutOfBoundsException("value[$index]")
    
    internal fun Headers.commonValues(name: String): List<String> {
      var result: MutableList<String>? = null
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java

            switch (requestType) {
                case REQUEST_PUT:
                    break;
                case REQUEST_GET:
                    break;
                default:
                    throw new IllegalArgumentException("Illegal request type: " + requestType);
            }
    
            this.requestType = requestType;
        }
    
        /**
         * @return Returns the eventType.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/RegularImmutableSortedMapMapInterfaceTest.java

      protected SortedMap<String, Integer> makeEmptyMap() {
        return ImmutableSortedMap.of();
      }
    
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        return ImmutableSortedMap.of("one", 1, "two", 2, "three", 3);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "minus one";
      }
    
      @Override
      protected Integer getValueNotInPopulatedMap() {
        return -1;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Mar 17 01:34:55 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/Smb2EchoResponse.java

            int start = bufferIndex;
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 4 ) {
                throw new SMBProtocolDecodingException("Expected structureSize = 4");
            }
            return bufferIndex - start;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/kt/Authenticate.kt

        val request =
          Request.Builder()
            .url("http://publicobject.com/secrets/hellosecret.txt")
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println(response.body.string())
        }
      }
    }
    
    fun main() {
      Authenticate().run()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top