Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 326 for catch (0.03 sec)

  1. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        K unmappedKey;
        try {
          map = makePopulatedMap();
          unmappedKey = getKeyNotInPopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
        assertFalse(map.containsKey(unmappedKey));
        try {
          assertFalse(map.containsKey(new IncompatibleKeyType()));
        } catch (ClassCastException tolerated) {
        }
        assertTrue(map.containsKey(map.keySet().iterator().next()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                    firstRun = false;
                }
            } catch (ConnectionException e) {
                throw new TransferFailedException("Connection failed: " + e.getMessage(), e);
            } catch (AuthenticationException e) {
                throw new TransferFailedException("Authentication failed: " + e.getMessage(), e);
            } catch (AuthorizationException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

          collection.add(sampleElement);
          fail("add succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    
        assertCollectionsAreEquivalent(copy, collection);
    
        try {
          collection.addAll(siblingCollection);
          fail("addAll succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        K unmappedKey;
        try {
          map = makePopulatedMap();
          unmappedKey = getKeyNotInPopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
        assertFalse(map.containsKey(unmappedKey));
        try {
          assertFalse(map.containsKey(new IncompatibleKeyType()));
        } catch (ClassCastException tolerated) {
        }
        assertTrue(map.containsKey(map.keySet().iterator().next()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

        } catch (AssertionFailedError expected) {
        }
    
        try {
          assertContentsInOrder(list, "a", "c", "b");
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
    
        try {
          assertContentsInOrder(list, "a", "B", "c");
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
      }
    
      public void testAssertContains() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

        } catch (AssertionFailedError expected) {
        }
    
        try {
          assertContentsInOrder(list, "a", "c", "b");
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
    
        try {
          assertContentsInOrder(list, "a", "B", "c");
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
      }
    
      public void testAssertContains() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

          collection.add(sampleElement);
          fail("add succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    
        assertCollectionsAreEquivalent(copy, collection);
    
        try {
          collection.addAll(siblingCollection);
          fail("addAll succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

                resultData.removeUrl(requestData);
                resultData.removeUrl(getDuplicateUrl(requestData));
            } catch (final CrawlerSystemException e) {
                throw e;
            } catch (final Exception e) {
                throw new CrawlerSystemException("Could not store data.", e);
            }
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                        conflictResolvers);
            } catch (CyclicDependencyException e) {
                logger.debug("While recursing: " + e.getMessage(), e);
                result.addCircularDependencyException(e);
            } catch (OverConstrainedVersionException e) {
                logger.debug("While recursing: " + e.getMessage(), e);
                result.addVersionRangeViolation(e);
            } catch (ArtifactResolutionException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

        private void feedConsumer() {
            final ArrayList<Exchange> batch = new ArrayList<>(batchMaxSize);
            try {
                while (true) {
                    batch.clear();
                    if (eventQueue.drainTo(batch, BATCH_MAX_SIZE) == 0) {
                        batch.add(eventQueue.take());
                    }
                    demux(batch);
                }
            } catch (InterruptedException e) {
                throw new RuntimeException(e);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top