More Java work.
[doldaconnect.git] / lib / java / dolda / dolcon / VersionException.java
CommitLineData
e78d9ca3
FT
1package dolda.dolcon;
2
3public class VersionException extends Exception {
4 public final int r, l, h;
5
6 public VersionException(int r, int l, int h) {
7 super("Unexpected protocol revision: " + l + "-" + h + ", wanted " + r);
8 this.r = r;
9 this.l = l;
10 this.h = h;
11 }
12}