org.apache.maven.project
Class InvalidProjectModelException

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

public class InvalidProjectModelException
extends ProjectBuildingException

See Also:
Serialized Form

Constructor Summary
InvalidProjectModelException(String projectId, String pomLocation, String message)
           
InvalidProjectModelException(String projectId, String pomLocation, String message, ModelValidationResult validationResult)
           
InvalidProjectModelException(String projectId, String pomLocation, String message, Throwable cause)
           
 
Method Summary
 String getMessage()
           
 String getPomLocation()
           
 ModelValidationResult getValidationResult()
           
 
Methods inherited from class org.apache.maven.project.ProjectBuildingException
getProjectId
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

InvalidProjectModelException

public InvalidProjectModelException(String projectId,
                                    String pomLocation,
                                    String message,
                                    Throwable cause)

InvalidProjectModelException

public InvalidProjectModelException(String projectId,
                                    String pomLocation,
                                    String message,
                                    ModelValidationResult validationResult)

InvalidProjectModelException

public InvalidProjectModelException(String projectId,
                                    String pomLocation,
                                    String message)
Method Detail

getPomLocation

public final String getPomLocation()

getValidationResult

public final ModelValidationResult getValidationResult()

getMessage

public String getMessage()
Overrides:
getMessage in class ProjectBuildingException


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