org.apache.maven.project
Class DuplicateArtifactAttachmentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.maven.project.DuplicateArtifactAttachmentException
- All Implemented Interfaces:
- Serializable
public class DuplicateArtifactAttachmentException
- extends RuntimeException
This exception is thrown if an application attempts to attach
two of the same artifacts to a single project.
- Author:
- pgier, jdcasey
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
DuplicateArtifactAttachmentException
public DuplicateArtifactAttachmentException(MavenProject project,
Artifact artifact)
getProject
public MavenProject getProject()
getArtifact
public Artifact getArtifact()
Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.