Search Options

Results per page
Sort
Preferred Languages
Advance

Results 961 - 970 of 2,742 for throws (0.07 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

    ) : CertificateChainCleaner() {
      /**
       * Returns a cleaned chain for [chain].
       *
       * This method throws if the complete chain to a trusted CA certificate cannot be constructed.
       * This is unexpected unless the trust root index in this class has a different trust manager than
       * what was used to establish [chain].
       */
      @Throws(SSLPeerUnverifiedException::class)
      override fun clean(
        chain: List<Certificate>,
        hostname: String,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicyTest.java

        MetadataGraphEdge e1;
        MetadataGraphEdge e2;
        MetadataGraphEdge e3;
    
        // ------------------------------------------------------------------------------------------
        @BeforeEach
        void setUp() throws Exception {
            policy = new DefaultGraphConflictResolutionPolicy();
            e1 = new MetadataGraphEdge("1.1", true, null, null, 2, 1);
            e2 = new MetadataGraphEdge("1.2", true, null, null, 3, 2);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/JoinerTest.java

              throw new IOException();
            }
    
            @Override
            public Appendable append(@Nullable CharSequence csq, int start, int end)
                throws IOException {
              throw new IOException();
            }
    
            @Override
            public Appendable append(char c) throws IOException {
              throw new IOException();
            }
          };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/MutableValueGraph.java

       *
       * @return the value previously associated with the edge connecting {@code nodeU} to {@code
       *     nodeV}, or null if there was no such edge.
       * @throws IllegalArgumentException if the introduction of the edge would violate {@link
       *     #allowsSelfLoops()}
       * @throws IllegalArgumentException if the endpoints are unordered and the graph is directed
       * @since 27.1
       */
      @CanIgnoreReturnValue
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java

            VersionRange vr = VersionRange.createFromVersionSpec("[1.0,2.0)");
            artifact = new DefaultArtifact(groupId, artifactId, vr, scope, type, null, artifactHandler);
            assertNull(artifact.getVersion());
            assertNull(artifact.getBaseVersion());
        }
    
        @Test
        void testMNG7780() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t09/ProjectInheritanceTest.java

         * restrictions were placed on d.  This demonstrates that a, b, c, &amp; d will
         * all be collected.
         *
         * @throws Exception
         */
        @Test
        void testDependencyManagementExclusionDoesNotOverrideGloballyForTransitives() throws Exception {
            File localRepo = getLocalRepositoryPath();
    
            File pom0 = new File(localRepo, "p0/pom.xml");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/GraphTest.java

    public class GraphTest {
    
        @Test
        void testCycle() throws Graph.CycleDetectedException {
            Graph graph = new Graph();
            graph.addEdge("a1", "a2");
            assertThrows(Graph.CycleDetectedException.class, () -> graph.addEdge("a2", "a1"));
        }
    
        @Test
        public void testPerf() throws IOException {
            List<String[]> data = new ArrayList<>();
            String k = null;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java

            return caught;
          }
          throw new AssertionError(
              "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t);
        }
        if (userPassedSupplier) {
          throw new AssertionError(
              "expected to throw "
                  + expectedThrowable.getSimpleName()
                  + " but returned result: "
                  + result);
        } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/TunnelingUnixSocket.java

        this.inetSocketAddress = address;
      }
    
      @Override public void connect(SocketAddress endpoint) throws IOException {
        this.inetSocketAddress = (InetSocketAddress) endpoint;
        super.connect(new UnixSocketAddress(path), 0);
      }
    
      @Override public void connect(SocketAddress endpoint, int timeout) throws IOException {
        this.inetSocketAddress = (InetSocketAddress) endpoint;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 12 16:33:52 UTC 2019
    - 1.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/collection/LruHashMapTest.java

    import java.util.Iterator;
    
    import org.junit.Test;
    
    /**
     * @author taichi
     */
    public class LruHashMapTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testAll() throws Exception {
            final LruHashMap<String, String> lru = new LruHashMap<String, String>(3);
            lru.put("aaa", "111");
            lru.put("bbb", "222");
            lru.put("ccc", "333");
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top