org.apache.maven.project
Class ProjectBuildingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.maven.project.ProjectBuildingException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidProjectVersionException

public class ProjectBuildingException
extends Exception

Version:
$Id: ProjectBuildingException.java 934861 2010-04-16 13:18:48Z bentmann $
Author:
Jason van Zyl
See Also:
Serialized Form

Constructor Summary
  ProjectBuildingException(List<ProjectBuildingResult> results)
           
  ProjectBuildingException(String projectId, String message, File pomFile)
           
protected ProjectBuildingException(String projectId, String message, File pomFile, Throwable cause)
           
  ProjectBuildingException(String projectId, String message, Throwable cause)
           
 
Method Summary
 File getPomFile()
           
 String getPomLocation()
          Deprecated. use getPomFile()
 String getProjectId()
           
 List<ProjectBuildingResult> getResults()
           
 
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

ProjectBuildingException

public ProjectBuildingException(String projectId,
                                String message,
                                Throwable cause)

ProjectBuildingException

public ProjectBuildingException(String projectId,
                                String message,
                                File pomFile)
Parameters:
projectId -
message -
pomFile - pom file location

ProjectBuildingException

protected ProjectBuildingException(String projectId,
                                   String message,
                                   File pomFile,
                                   Throwable cause)
Parameters:
projectId -
message -
pomFile - pom file location
cause -

ProjectBuildingException

public ProjectBuildingException(List<ProjectBuildingResult> results)
Method Detail

getPomFile

public File getPomFile()

getPomLocation

public String getPomLocation()
Deprecated. use getPomFile()


getProjectId

public String getProjectId()

getResults

public List<ProjectBuildingResult> getResults()


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