Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 217 for throwAsUncheckedException (0.42 sec)

  1. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/connection/LazyConsumerActionExecutor.java

                while (!executing.isEmpty()) {
                    try {
                        condition.await();
                    } catch (InterruptedException e) {
                        throw UncheckedException.throwAsUncheckedException(e);
                    }
                }
                this.connection = null;
            } finally {
                lock.unlock();
            }
        }
    
        @Override
        public void disconnect() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/internal/FileReferenceFactory.java

            URI fileURI = null;
            try {
                fileURI = new URI(jarURI.replace("jar:", "").replace("!/", ""));
            } catch (URISyntaxException e) {
                UncheckedException.throwAsUncheckedException(e);
            }
            File file = new File(fileURI);
            String path = PathUtil.normalizePath(file.getAbsolutePath());
            return new FileReferenceImpl(file, path, false);
        }
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/CommandLineToolVersionLocator.java

                    }
                    reader.endArray();
                } finally {
                    reader.close();
                }
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
    
            return installs;
        }
    
        private VisualStudioInstallCandidate readInstall(JsonReader reader) throws IOException {
            String visualStudioInstallPath = null;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/JdkTools.java

                    } catch (ClassNotFoundException e) {
                        throw UncheckedException.throwAsUncheckedException(e);
                    }
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/InternalTransformers.java

                public URL transform(URI original) {
                    try {
                        return original.toURL();
                    } catch (MalformedURLException e) {
                        throw UncheckedException.throwAsUncheckedException(e);
                    }
                }
            };
        }
    
        /**
         * Always returns the given argument.
         */
        public static <T, I> InternalTransformer<T, I> constant(final T t) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  6. platforms/software/security/src/main/java/org/gradle/security/internal/PublicKeyDownloadService.java

                    // retry
                    return ExponentialBackoff.Result.notSuccessful(false);
                });
            } catch (InterruptedException | IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        /**
         * A response was sent from the server. This is a keyring, we need to find
         * within the keyring the matching key.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:49:35 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/LockOnDemandCrossProcessCacheAccess.java

                        onOpen.accept(fileLock);
                    } catch (Exception e) {
                        fileLock.close();
                        fileLock = null;
                        throw UncheckedException.throwAsUncheckedException(e);
                    }
                }
                lockCount++;
            } finally {
                stateLock.unlock();
            }
        }
    
        private void decrementLockCount() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/signatures/DefaultSignatureVerificationServiceFactory.java

                                    result.verified(pgpPublicKey, trusted);
                                }
                            } catch (PGPException e) {
                                throw UncheckedException.throwAsUncheckedException(e);
                            }
                        }
                    });
                    if (missing.get()) {
                        result.missingKey(longIdKey);
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 14:54:57 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DefaultIncomingConnectionHandler.java

                while (!inProgress.isEmpty()) {
                    try {
                        condition.await();
                    } catch (InterruptedException e) {
                        throw UncheckedException.throwAsUncheckedException(e);
                    }
                }
            } finally {
                lock.unlock();
            }
        }
    
        private class ConnectionWorker implements Runnable {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 7K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/bean/DefaultPropertyWalker.java

                this.exception = exception;
            }
    
            @Nullable
            @Override
            public Object call() {
                throw UncheckedException.throwAsUncheckedException(exception);
            }
    
            @Override
            public TaskDependencyContainer getTaskDependencies() {
                // Ignore
                return TaskDependencyContainer.EMPTY;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.2K bytes
    - Viewed (0)
Back to top