Class GAVAlreadyExistsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.guvnor.common.services.project.service.GAVAlreadyExistsException
-
- All Implemented Interfaces:
Serializable
@Portable public class GAVAlreadyExistsException extends RuntimeException
Exception for when a proposed GAV for a Project resolves against Maven'sorg.eclipse.aether.repository.LocalRepositoryand anyorg.eclipse.aether.repository.RemoteRepositoryconfigured in the Project's POM,<distributionManagement>orsettings.xml- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GAVAlreadyExistsException()GAVAlreadyExistsException(GAV gav, Set<MavenRepositoryMetadata> repositories)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GAVgetGAV()Set<MavenRepositoryMetadata>getRepositories()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
GAVAlreadyExistsException
public GAVAlreadyExistsException()
-
GAVAlreadyExistsException
public GAVAlreadyExistsException(GAV gav, Set<MavenRepositoryMetadata> repositories)
-
-
Method Detail
-
getGAV
public GAV getGAV()
-
getRepositories
public Set<MavenRepositoryMetadata> getRepositories()
-
-