Package org.openrewrite.maven
Class MavenDownloadingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openrewrite.maven.MavenDownloadingException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMavenDownloadingException(String message, @Nullable Throwable cause, GroupArtifactVersion failedOn) -
Method Summary
Modifier and TypeMethodDescriptiongetRoot()setRepositoryResponses(Map<MavenRepository, String> repositoryResponses) setRoot(GroupArtifactVersion root) <T extends org.openrewrite.Tree>
Twarn(T t) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MavenDownloadingException
public MavenDownloadingException(String message, @Nullable @Nullable Throwable cause, GroupArtifactVersion failedOn)
-
-
Method Details
-
setRoot
-
getRoot
-
setRepositoryResponses
public MavenDownloadingException setRepositoryResponses(Map<MavenRepository, String> repositoryResponses) - Parameters:
repositoryResponses- The HTTP response codes of the repositories that were tried, as an instance ofMapthat iterates the responses in the order in which the repositories were tried.- Returns:
- This exception instance.
-
getMessage
- Overrides:
getMessagein classThrowable
-
warn
public <T extends org.openrewrite.Tree> T warn(T t)
-