Package org.apache.maven.project
Class InvalidProjectModelException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.maven.project.ProjectBuildingException
-
- org.apache.maven.project.InvalidProjectModelException
-
- All Implemented Interfaces:
Serializable
public class InvalidProjectModelException extends ProjectBuildingException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidProjectModelException(String projectId, String pomLocation, String message)InvalidProjectModelException(String projectId, String pomLocation, String message, Throwable cause)InvalidProjectModelException(String projectId, String pomLocation, String message, ModelValidationResult validationResult)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()StringgetPomLocation()ModelValidationResultgetValidationResult()-
Methods inherited from class org.apache.maven.project.ProjectBuildingException
getProjectId
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidProjectModelException
public InvalidProjectModelException(String projectId, String pomLocation, String message, Throwable cause)
-
InvalidProjectModelException
public InvalidProjectModelException(String projectId, String pomLocation, String message, ModelValidationResult validationResult)
-
-
Method Detail
-
getPomLocation
public final String getPomLocation()
-
getValidationResult
public final ModelValidationResult getValidationResult()
-
getMessage
public String getMessage()
- Overrides:
getMessagein classProjectBuildingException
-
-