Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2011 - 2020 of 2,652 for throwIt (0.06 sec)

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

    import java.io.File;
    
    import org.apache.maven.artifact.ArtifactUtils;
    import org.apache.maven.artifact.versioning.InvalidVersionSpecificationException;
    import org.apache.maven.model.Dependency;
    
    /**
     * Thrown if a dependency has an invalid version.
     *
     */
    @Deprecated
    public class VersionNotFoundException extends Exception {
        private Dependency dependency;
    
        private String projectId;
        private File pomFile;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/artifact/installer/ArtifactInstallerTest.java

        @Inject
        private SessionScope sessionScope;
    
        protected String component() {
            return "installer";
        }
    
        @Test
        void testArtifactInstallation() throws Exception {
            sessionScope.enter();
            try {
                sessionScope.seed(MavenSession.class, mock(MavenSession.class));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvokerTest.java

        @Override
        protected Parser<ForkedMavenInvokerRequest> createParser() {
            return new DefaultForkedMavenParser();
        }
    
        @Test
        void defaultFs(@TempDir(cleanup = CleanupMode.ON_SUCCESS) Path tempDir) throws Exception {
            invoke(tempDir, Arrays.asList("clean", "verify"));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java

                getMap()
                    .compute(
                        k0(),
                        (k, v) -> {
                          assertEquals(k0(), k);
                          assertEquals(v0(), v);
                          throw new SomeUncheckedException();
                        }));
        expectUnchanged();
      }
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      public void testCompute_absentFunctionThrows() {
        assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java

                getMap()
                    .compute(
                        k0(),
                        (k, v) -> {
                          assertEquals(k0(), k);
                          assertEquals(v0(), v);
                          throw new SomeUncheckedException();
                        }));
        expectUnchanged();
      }
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      public void testCompute_absentFunctionThrows() {
        assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractMultiset.java

      public int add(@ParametricNullness E element, int occurrences) {
        throw new UnsupportedOperationException();
      }
    
      @CanIgnoreReturnValue
      @Override
      public final boolean remove(@CheckForNull Object element) {
        return remove(element, 1) > 0;
      }
    
      @CanIgnoreReturnValue
      @Override
      public int remove(@CheckForNull Object element, int occurrences) {
        throw new UnsupportedOperationException();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/WebApiUtil.java

        }
    
        public static void validate() {
            LaRequestUtil.getOptionalRequest().map(req -> (WebApiException) req.getAttribute(WEB_API_EXCEPTION)).ifPresent(e -> {
                throw e;
            });
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. mockwebserver-junit4/src/main/kotlin/mockwebserver3/junit4/MockWebServerRule.kt

    @ExperimentalOkHttpApi
    class MockWebServerRule : ExternalResource() {
      val server: MockWebServer = MockWebServer()
    
      override fun before() {
        try {
          server.start()
        } catch (e: IOException) {
          throw RuntimeException(e)
        }
      }
    
      override fun after() {
        try {
          server.shutdown()
        } catch (e: IOException) {
          logger.log(Level.WARNING, "MockWebServer shutdown failed", e)
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractNavigableMap.java

      public K firstKey() {
        Entry<K, V> entry = firstEntry();
        if (entry == null) {
          throw new NoSuchElementException();
        } else {
          return entry.getKey();
        }
      }
    
      @Override
      @ParametricNullness
      public K lastKey() {
        Entry<K, V> entry = lastEntry();
        if (entry == null) {
          throw new NoSuchElementException();
        } else {
          return entry.getKey();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/Handler.java

        }
    
    
        @Override
        protected int getDefaultPort () {
            return SmbConstants.DEFAULT_PORT;
        }
    
    
        @Override
        public URLConnection openConnection ( URL u ) throws IOException {
            if ( log.isDebugEnabled() ) {
                log.debug("Opening file " + u);
            }
            return new SmbFile(u, getTransportContext());
        }
    
    
        /**
         * @return
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 06 09:14:24 UTC 2020
    - 2.9K bytes
    - Viewed (0)
Back to top