[patch]: add line number to patch syntax error message

This commit is contained in:
Nadya Zabrodina
2017-03-28 18:50:52 +03:00
parent cbb05f8f22
commit 02a447a57d
@@ -33,4 +33,9 @@ public class PatchSyntaxException extends Exception {
public int getLine() {
return myLine;
}
@Override
public String getMessage() {
return String.format(super.getMessage() + " (line:%d)", myLine);
}
}