mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[patch]: add line number to patch syntax error message
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user