Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 48 for DefaultMultiCauseException (0.33 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/NoUsableDaemonFoundException.java

    import org.gradle.internal.deprecation.Documentation;
    import org.gradle.internal.exceptions.DefaultMultiCauseException;
    import org.gradle.internal.exceptions.ResolutionProvider;
    
    import java.util.Collections;
    import java.util.List;
    
    public class NoUsableDaemonFoundException extends DefaultMultiCauseException implements ResolutionProvider {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/tasks/TaskExecutionException.java

    import org.gradle.api.Task;
    import org.gradle.internal.exceptions.Contextual;
    import org.gradle.internal.exceptions.DefaultMultiCauseException;
    
    /**
     * <p>A {@code TaskExecutionException} is thrown when a task fails to execute successfully.</p>
     */
    @Contextual
    public class TaskExecutionException extends DefaultMultiCauseException {
        private final Task task;
    
        public TaskExecutionException(Task task, Throwable cause) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/integTest/groovy/org/gradle/internal/exceptions/DefaultMultiCauseExceptionIntegrationTest.groovy

                        def fail1 = new TestResolutionProviderException('resolution1')
                        def fail2 = new TestResolutionProviderException('resolution2')
                        throw new org.gradle.internal.exceptions.DefaultMultiCauseException('failure', fail1, fail2)
                    }
                }
            """
    
            when:
            fails 'myTask'
    
            then:
            failure.assertHasDescription("Execution failed for task ':myTask'.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/execution/MultipleBuildFailures.java

     * limitations under the License.
     */
    
    package org.gradle.execution;
    
    import org.gradle.internal.exceptions.DefaultMultiCauseException;
    
    import java.util.Collection;
    import java.util.List;
    
    public class MultipleBuildFailures extends DefaultMultiCauseException {
        public MultipleBuildFailures(Collection<? extends Throwable> causes) {
            super("Build completed with " + causes.size() + " failures.", causes);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 16 07:51:10 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ResolveException.java

    import org.gradle.internal.exceptions.DefaultMultiCauseException;
    
    /**
     * <p>An opaque exception, thrown when dependency resolution fails for some reason.</p>
     *
     * <strong>This type should only be extended and/or thrown by Gradle internal code.</strong>
     */
    @Contextual
    @HasInternalProtocol
    public class ResolveException extends DefaultMultiCauseException {
    
        /**
         * Do not call this constructor.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:56:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/event/ListenerNotificationException.java

    import org.gradle.internal.exceptions.Contextual;
    import org.gradle.internal.exceptions.DefaultMultiCauseException;
    
    import javax.annotation.Nullable;
    
    /**
     * A {@code ListenerNotificationException} is thrown when a listener cannot be notified of an event.
     */
    @Contextual
    public class ListenerNotificationException extends DefaultMultiCauseException {
        private final MethodInvocation event;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/MessageTest.groovy

     * limitations under the License.
     */
    package org.gradle.internal.serialize
    
    import groovy.transform.CompileStatic
    import org.gradle.internal.exceptions.Contextual
    import org.gradle.internal.exceptions.DefaultMultiCauseException
    import spock.lang.Issue
    import spock.lang.Specification
    
    class MessageTest extends Specification {
        GroovyClassLoader source = new GroovyClassLoader(getClass().classLoader)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/initialization/DefaultBuildCancellationToken.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.initialization;
    
    import org.gradle.internal.exceptions.DefaultMultiCauseException;
    
    import java.util.ArrayList;
    import java.util.LinkedList;
    import java.util.List;
    
    public class DefaultBuildCancellationToken implements BuildCancellationToken {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 10:39:11 UTC 2019
    - 2.4K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/initialization/DefaultBuildCancellationTokenSpec.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.initialization
    
    import org.gradle.internal.exceptions.DefaultMultiCauseException
    import spock.lang.Specification
    
    class DefaultBuildCancellationTokenSpec extends Specification {
        def 'can cancel token'() {
            when:
            def token = new DefaultBuildCancellationToken()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 23 09:27:48 UTC 2015
    - 3.7K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiDistributionResolver.groovy

    import org.gradle.integtests.fixtures.executer.CommitDistribution
    import org.gradle.integtests.fixtures.executer.IntegrationTestBuildContext
    import org.gradle.internal.exceptions.DefaultMultiCauseException
    import org.gradle.testfixtures.ProjectBuilder
    import org.gradle.testfixtures.internal.ProjectBuilderImpl
    
    class ToolingApiDistributionResolver {
    
        static interface ResolverAction<T> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top