Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,449 for throws (0.2 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/CachingServiceLocator.java

            if (services.containsKey(serviceType)) {
                return Cast.uncheckedNonnullCast(services.get(serviceType));
            }
            T t = delegate.get(serviceType);
            services.put(serviceType, t);
            return t;
        }
    
        @Override
        public synchronized <T> List<T> getAll(Class<T> serviceType) throws UnknownServiceException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/EventSpyImpl.java

        @Inject
        EventSpyImpl(DefaultSessionFactory sessionFactory) {
            this.sessionFactory = sessionFactory;
        }
    
        @Override
        public void init(Context context) throws Exception {}
    
        @Override
        public void onEvent(Object arg) throws Exception {
            if (arg instanceof ExecutionEvent) {
                ExecutionEvent ee = (ExecutionEvent) arg;
                InternalMavenSession session =
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/services/GenericFileSystem.java

                return result;
            }
        }
    
        private boolean hasContent(File file, String content) throws IOException {
            return file.exists() && Files.asCharSource(file, Charsets.UTF_8).readFirstLine().equals(content);
        }
    
        private void checkJavaIoTmpDirExists() throws IOException {
            @SuppressWarnings("deprecation")
            File dir = new File(SystemProperties.getInstance().getJavaIoTmpDir());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:39 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java

         * @param options possible parsing options, may be {@code null}
         * @return the parsed {@link Model}, never {@code null}
         * @throws ModelParserException if the model cannot be parsed
         */
        @Nonnull
        Model parse(@Nonnull Source source, @Nullable Map<String, ?> options) throws ModelParserException;
    
        /**
         * Locate and parse the model in the specified directory.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Cache.kt

      @Synchronized fun writeSuccessCount(): Int = writeSuccessCount
    
      @Throws(IOException::class)
      fun size(): Long = cache.size()
    
      /** Max size of the cache (in bytes). */
      fun maxSize(): Long = cache.maxSize
    
      @Throws(IOException::class)
      override fun flush() {
        cache.flush()
      }
    
      @Throws(IOException::class)
      override fun close() {
        cache.close()
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  6. platforms/core-runtime/io/src/main/java/org/gradle/internal/io/NullOutputStream.java

        private NullOutputStream() {
    
        }
    
        @Override
        public void write(int b) throws IOException {
            // ignore
        }
    
        @Override
        public void write(byte[] b) throws IOException {
            // ignore
        }
    
        @Override
        public void write(byte[] b, int off, int len) throws IOException {
            // ignore
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:51:13 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelResolver.java

         * @return The source of the requested POM, never {@code null}.
         * @throws ModelResolverException If the POM could not be resolved from any configured repository.
         */
        @Nonnull
        default ModelSource resolveModel(
                @Nonnull Session session, @Nonnull Parent parent, @Nonnull AtomicReference<Parent> modified)
                throws ModelResolverException {
            return resolveModel(
                    session,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java

                return session;
            }
    
            public BeanItf2 getAnotherBean() {
                return anotherBean;
            }
    
            public void throwException() throws TestException {
                throw new TestException();
            }
        }
    
        static class TestException extends Exception {}
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Apr 23 12:52:20 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

            }
        }
    
        public void test_buildRedirectLocation() throws Exception {
            assertEquals("http://localhost/login.html", HcHttpClient.buildRedirectLocation("http://localhost/", "/login.html"));
        }
    
        // public void test_doGet_mt() throws Exception {
        // ExecutorService executorService = Executors.newFixedThreadPool(1);
        //
        // // HttpClient Parameters
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu May 09 09:28:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/ReportGenerator.java

            void execute() throws IOException;
    
            ReportMarginaliaAction DO_NOTHING = new ReportMarginaliaAction() {
                @Override
                public void execute() throws IOException {
                    // Do nothing;
                }
            };
        }
    
        @FunctionalInterface
        public interface ReportAction<T> {
            void execute(T project) throws IOException;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:30 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top