ca3bc7426a34105c1a886a8b2a2d0fbbf705cef7
[doldaconnect.git] / lib / java / dolda / dolcon / VersionException.java
1 package dolda.dolcon;
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 }