org.apache.maven.project
Class DuplicateArtifactAttachmentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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

Constructor Summary
DuplicateArtifactAttachmentException(MavenProject project, Artifact artifact)
           
 
Method Summary
 Artifact getArtifact()
           
 MavenProject getProject()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DuplicateArtifactAttachmentException

public DuplicateArtifactAttachmentException(MavenProject project,
                                            Artifact artifact)
Method Detail

getProject

public MavenProject getProject()

getArtifact

public Artifact getArtifact()


Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.