Write position in hex in NotSameException message.

(by Paolo Cancedda)
This commit is contained in:
Jindra Pet��k
2012-01-02 09:34:26 +01:00
parent 383d953e7a
commit 5107213517
@@ -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));
}
}