Commit | Line | Data |
---|---|---|
7131093c FT |
1 | package dolda.dolcon; |
2 | ||
3 | /** | |
4 | * The purpose of this exception is to wrap together all the low-level | |
5 | * protocol exceptions, that the programmer is unlikely to want to | |
6 | * differentiate between. | |
7 | */ | |
8 | public class ProtocolException extends Exception { | |
9 | public ProtocolException(String msg) { | |
10 | super(msg); | |
11 | } | |
12 | ||
13 | public ProtocolException(Exception cause) { | |
14 | super("Unhandled DC protocol condition", cause); | |
15 | } | |
16 | } |