Add ReftableNumbersNotIncreasingException#toString

Change-Id: I28b6a6476df185f3f98f8020408b4b120086cb0b
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
Han-Wen Nienhuys 2020-01-14 20:13:48 +01:00 committed by Matthias Sohn
parent 2f3258cc28
commit 00252730dd
1 changed files with 8 additions and 0 deletions

View File

@ -145,6 +145,14 @@ public static class ReftableNumbersNotIncreasingException
this.lastMax = lastMax;
this.min = min;
}
@SuppressWarnings({ "nls", "boxing" })
@Override
public String toString() {
return String.format(
"ReftableNumbersNotIncreasingException %s: min %d, lastMax %d",
name, min, lastMax);
}
}
/**