Package org.apache.maven.project
Class ProjectBuildingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.maven.project.ProjectBuildingException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidProjectVersionException
public class ProjectBuildingException extends Exception
- Author:
- Jason van Zyl
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description ProjectBuildingException(String projectId, String message, File pomFile)
protected
ProjectBuildingException(String projectId, String message, File pomFile, Throwable cause)
ProjectBuildingException(String projectId, String message, Throwable cause)
ProjectBuildingException(List<ProjectBuildingResult> results)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description File
getPomFile()
String
getPomLocation()
Deprecated.usegetPomFile()
String
getProjectId()
List<ProjectBuildingResult>
getResults()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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 locationcause
-
-
ProjectBuildingException
public ProjectBuildingException(List<ProjectBuildingResult> results)
-
-
Method Detail
-
getPomFile
public File getPomFile()
-
getPomLocation
@Deprecated public String getPomLocation()
Deprecated.usegetPomFile()
-
getProjectId
public String getProjectId()
-
getResults
public List<ProjectBuildingResult> getResults()
-
-