java.io.Serializable
, org.gradle.internal.exceptions.MultiCauseException
, org.gradle.internal.exceptions.NonGradleCauseExceptionsHolder
, org.gradle.internal.exceptions.ResolutionProvider
public class ResolveException
extends org.gradle.internal.exceptions.DefaultMultiCauseException
An opaque exception, thrown when dependency resolution fails for some reason.
This type should only be extended and/or thrown by Gradle internal code.Modifier | Constructor | Description |
---|---|---|
|
ResolveException(java.lang.String message,
java.lang.Iterable<? extends java.lang.Throwable> causes) |
Deprecated.
This constructor will be made protected in 9.0
|
protected |
ResolveException(java.lang.String message,
java.lang.Iterable<? extends java.lang.Throwable> causes,
boolean dummy) |
The actual constructor called by concrete resolve exception implementations.
|
|
ResolveException(java.lang.String message,
java.lang.Throwable cause) |
Deprecated.
This constructor will be removed in 9.0
|
getCause, getCauses, getMessage, getResolutions, hasCause, initCause, initCauses, printStackTrace, printStackTrace
@Deprecated public ResolveException(java.lang.String message, java.lang.Throwable cause)
@Deprecated public ResolveException(java.lang.String message, java.lang.Iterable<? extends java.lang.Throwable> causes)
@Incubating protected ResolveException(java.lang.String message, java.lang.Iterable<? extends java.lang.Throwable> causes, boolean dummy)
This constructor accepts a dummy parameter since we cannot call the constructor without it, as that emits a deprecation warning. In 9.0, we can change the above constructor to protected and remove this constructor.