Skip to content

Commit 62d8901

Browse files
committed
improved error message
1 parent 64140c9 commit 62d8901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jbbp/src/main/java/com/igormaznitsa/jbbp/model/JBBPFieldUInt.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public int getAsInt() {
4848
if (this.value >= 0) {
4949
return this.value;
5050
} else {
51-
throw new IllegalStateException("Can't be represented as signed int: 0x" +
51+
throw new IllegalStateException("can't convert UINT value into signed INT: 0x" +
5252
(Long.toHexString(this.value & 0xFFFFFFFFL).toUpperCase(
5353
Locale.ENGLISH)));
5454
}

0 commit comments

Comments
 (0)