Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 258 for throws (0.27 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultArtifactDescriptorReader.java

                            throw new ArtifactDescriptorException(result);
                        }
                    }
                    invalidDescriptor(session, trace, a, e);
                    if ((getPolicy(session, a, request) & ArtifactDescriptorPolicy.IGNORE_INVALID) != 0) {
                        return null;
                    }
                    result.addException(e);
                    throw new ArtifactDescriptorException(result);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 11:04:53 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/VisitableURLClassLoader.java

            }
    
            @Override
            protected Class<?> findClass(String name) throws ClassNotFoundException {
                errorHandler.enterClassLoadingScope(name);
                Class<?> loadedClass;
                try {
                    loadedClass = super.findClass(name);
                } catch (Throwable e) {
                    throw errorHandler.exitClassLoadingScopeWithException(e);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. platforms/core-execution/build-cache-example-client/src/main/java/org/gradle/caching/example/ExampleBuildCacheClient.java

        private final BuildCacheController buildCacheController;
        private final FileSystemAccess fileSystemAccess;
    
        public static void main(String[] args) throws IOException {
            Guice.createInjector(new BuildCacheClientModule("build-1"))
                .getInstance(ExampleBuildCacheClient.class)
                .useBuildCache();
            System.exit(0);
        }
    
        @Inject
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 19:35:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandler.java

            }
    
            @Override
            protected Class<?> findClass(String name) throws ClassNotFoundException {
                errorHandler.enterClassLoadingScope(name);
                Class<?> loadedClass;
                try {
                    loadedClass = super.findClass(name);
                } catch (Throwable e) {
                    throw errorHandler.exitClassLoadingScopeWithException(e);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                throw new ProjectBuilderException("Unable to build project", e);
            }
        }
    
        private static class SourceWrapper implements ModelSource2 {
            private final Source source;
    
            SourceWrapper(Source source) {
                this.source = source;
            }
    
            @Override
            public InputStream getInputStream() throws IOException {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/DelegatedGradlePropertiesExtensionsTest.kt

            }
        }
    
        @Test
        fun `non-nullable delegated property access of existing null gradle property throws`() {
    
            withMockForSettings(existing = "p" to null) {
    
                val p: Any by settings
                try {
                    p.toString()
                    fail("InvalidUserCodeException not thrown")
                } catch (ex: InvalidUserCodeException) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 15:44:53 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/exceptions/DefaultMultiCauseException.java

            this(messageFactory);
            initCauses(causes);
        }
    
        private void readObject(ObjectInputStream inputStream) throws IOException, ClassNotFoundException {
            inputStream.defaultReadObject();
            hideCause = threadLocal();
        }
    
        private void writeObject(java.io.ObjectOutputStream out) throws IOException {
            // Ensure fields are initialized before serialization
            String ignored = getMessage();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

            super.transferInitiated(event);
        }
    
        @Override
        public void transferCorrupted(TransferEvent event) throws TransferCancelledException {
            overridePreviousTransfer(event);
    
            super.transferCorrupted(event);
        }
    
        @Override
        public void transferProgressed(TransferEvent event) throws TransferCancelledException {
            TransferResource resource = event.getResource();
            transfers.put(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 21:48:41 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/KtSymbol.kt

         */
        public val psi: PsiElement?
    
        public fun createPointer(): KaSymbolPointer<KaSymbol>
    }
    
    public typealias KtSymbol = KaSymbol
    
    /**
     * Get symbol [PsiElement] if its type is [PSI], otherwise throws ClassCastException
     *
     * @see KaSymbol.psi
     */
    public inline fun <reified PSI : PsiElement> KaSymbol.psi(): PSI =
        psi as PSI
    
    /**
     * Get symbol [PsiElement] if its type is [PSI], otherwise null
     *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 09:36:27 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/api/JavaVersion.java

         * @param value An object whose toString() value is to be converted. May be null.
         * @return The version, or null if the provided value is null.
         * @throws IllegalArgumentException when the provided value cannot be converted.
         */
        public static JavaVersion toVersion(Object value) throws IllegalArgumentException {
            if (value == null) {
                return null;
            }
            if (value instanceof JavaVersion) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top