Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 214 for throws (0.23 sec)

  1. maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                } catch (ComponentLookupException e) {
                    throw new RuntimeException(e);
                }
            });
            injector.bindScope(MojoExecutionScoped.class, () -> {
                try {
                    return containerProvider.get().lookup(MojoExecutionScope.class);
                } catch (ComponentLookupException e) {
                    throw new RuntimeException(e);
                }
            });
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/InstrumentingClassLoader.java

         * <p>
         * Throwing the exception from this method aborts the transformation but doesn't affect class loading. The caller
         * (the agent) will catch all throwables thrown by this method and forward them to {@link #transformFailed(String, Throwable)}.
         * <p>
         * The {@code classfileBuffer} may be already modified by other Java agents.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/FileCollectionCodec.kt

                        is ResolutionBackedFileCollectionSpec -> artifactSetConverter.asFileCollection(element.displayName, element.lenient, element.elements)
                        is BeanSpec -> element.bean
                        else -> throw IllegalArgumentException("Unexpected item $element in file collection contents")
                    }
                }
            )
        }
    }
    
    
    private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/AbstractProcessInstrumentationIntegrationTest.groovy

            }
    
            String getGroovy(List<String> cmd) {
                throw new UnsupportedOperationException()
            }
    
            String getJava(List<String> cmd) {
                throw new UnsupportedOperationException()
            }
    
            String getKotlin(List<String> cmd) {
                throw new UnsupportedOperationException()
            }
    
            @Override
            String toString() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirTypeAliasSymbol.kt

            when (val symbolKind = symbolKind) {
                KaSymbolKind.LOCAL ->
                    throw CanNotCreateSymbolPointerForLocalLibraryDeclarationException(classId?.asString() ?: name.asString())
    
                KaSymbolKind.CLASS_MEMBER, KaSymbolKind.TOP_LEVEL -> KaFirClassLikeSymbolPointer(classId!!, KaTypeAliasSymbol::class)
                else -> throw UnsupportedSymbolKind(this::class, symbolKind)
            }
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. maven-di/src/main/java/org/apache/maven/di/impl/InjectorImpl.java

                            Class<?> clazz = classLoader.loadClass(line);
                            bindImplicit(clazz);
                        }
                    }
                }
            } catch (Exception e) {
                throw new DIException("Error while discovering DI classes from classLoader", e);
            }
            return this;
        }
    
        public Injector bindScope(Class<? extends Annotation> scopeAnnotation, Scope scope) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/api/InvalidUserCodeException.java

     * limitations under the License.
     */
    
    package org.gradle.api;
    
    import org.gradle.internal.exceptions.Contextual;
    
    /**
     * A <code>InvalidUserCodeException</code> is thrown when user-provided code cannot be executed.
     */
    @Contextual
    public class InvalidUserCodeException extends GradleException {
        public InvalidUserCodeException() {
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. platforms/core-runtime/stdlib-java-extensions/src/test/groovy/org/gradle/internal/CastTest.groovy

    import static Cast.cast
    
    class CastTest extends Specification {
    
        def "casting"() {
            given:
            def arg = "1"
    
            when:
            cast(Integer, arg)
    
            then:
            def e = thrown(ClassCastException)
            e.message == "Failed to cast object $arg of type ${arg.class.name} to target type ${Integer.name}"
    
            when:
            def result = cast(CharSequence, arg)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/api/GradleException.java

     * limitations under the License.
     */
    
    package org.gradle.api;
    
    import javax.annotation.Nullable;
    
    /**
     * <p><code>GradleException</code> is the base class of all exceptions thrown by Gradle.</p>
     */
    public class GradleException extends RuntimeException {
        public GradleException() {
            super();
        }
    
        public GradleException(String message) {
            super(message);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/GradleVersionSpec.java

                            return !element.getBaseVersion().equals(excludedVersion);
                        }
                    });
                } else {
                    throw new RuntimeException(String.format("Unsupported version range '%s' specified in constraint '%s'. Supported formats: '>=nnn', '>nnn', '<=nnn', '<nnn', '!nnn' or space-separate patterns", value, constraint));
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top