summaryrefslogtreecommitdiff
path: root/dslog/UnsupportedVersionException.java
blob: 26678043cba3d57394b41e60f5985c7fdf1cc979 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package dslog;

import java.io.IOException;

class UnsupportedVersionException extends IOException {
	public UnsupportedVersionException(String thing, int version) {
		super("Unsupported file format version: "+thing+" v"+version);
	}
	public UnsupportedVersionException(String thing, int version, int cur) {
		super("File format version ("+thing+" v"+version+") new that log reader ("+cur+")");
	}
}