Skip to content

Commit

Permalink
Add explicit constructor that calls super
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Feb 7, 2025
1 parent 22c533a commit 7295f7a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ public class UnknownSourceFileChangeException extends RecipeException {
SourceFile sourceFile;
String diff;

@Override
public String getMessage() {
return "Source file changed but no recipe " +
"reported making a change.";
public UnknownSourceFileChangeException(SourceFile sourceFile, String diff) {
super("Source file changed but no recipe reported making a change.");
this.sourceFile = sourceFile;
this.diff = diff;
}
}

0 comments on commit 7295f7a

Please sign in to comment.