Skip to content

Commit

Permalink
add getPropertyName to UnresolvedPropertyException
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Stoll committed Jun 13, 2018
1 parent 5a10ce5 commit db4246c
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -3,16 +3,22 @@

public class UnresolvedPropertyException extends RuntimeException
{
private final String propertyName;
private final Project project;

UnresolvedPropertyException( String propertyName, Project project )
{
super( "Could not resolve property " + propertyName + " of project " + project.getGav());
this.propertyName = propertyName;
this.project = project;
}

public Project getProject()
{
return project;
}
public String getPropertyName()
{
return propertyName;
}
}

0 comments on commit db4246c

Please sign in to comment.