Commit | Line | Data |
---|---|---|
1 | package dolda.dolcon.protocol; | |
2 | ||
3 | public 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 | } |