org.apache.maven.project
Class DuplicateProjectException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.maven.project.DuplicateProjectException
All Implemented Interfaces:
Serializable

public class DuplicateProjectException
extends Exception

Exception that occurs when the project list contains duplicate projects instead of ignoring one.

Author:
Brett Porter
See Also:
Serialized Form

Constructor Summary
DuplicateProjectException(String message)
          Deprecated. use DuplicateProjectException(String, File, File, String)
DuplicateProjectException(String message, Exception e)
          Deprecated. use DuplicateProjectException(String, File, File, String)
DuplicateProjectException(String projectId, File existingProjectFile, File conflictingProjectFile, String message)
           
 
Method Summary
 File getConflictingProjectFile()
           
 File getExistingProjectFile()
           
 String getProjectId()
           
 
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

DuplicateProjectException

public DuplicateProjectException(String message)
Deprecated. use DuplicateProjectException(String, File, File, String)


DuplicateProjectException

public DuplicateProjectException(String message,
                                 Exception e)
Deprecated. use DuplicateProjectException(String, File, File, String)


DuplicateProjectException

public DuplicateProjectException(String projectId,
                                 File existingProjectFile,
                                 File conflictingProjectFile,
                                 String message)
Method Detail

getProjectId

public String getProjectId()

getExistingProjectFile

public File getExistingProjectFile()

getConflictingProjectFile

public File getConflictingProjectFile()


Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.