mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-24 21:20:45 +00:00
Write position in hex in NotSameException message.
(by Paolo Cancedda)
This commit is contained in:
@@ -17,9 +17,11 @@
|
||||
|
||||
package com.jpexs.asdec.abc;
|
||||
|
||||
import com.jpexs.asdec.helpers.Helper;
|
||||
|
||||
|
||||
public class NotSameException extends RuntimeException {
|
||||
public NotSameException(long pos) {
|
||||
super("Streams are not the same at pos:" + pos);
|
||||
super("Streams are not the same at pos " + Helper.formatHex((int)pos, 8));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user