Java: Added a session handler with authentication capability.
[doldaconnect.git] / lib / java / dolda / dolcon / ProtocolException.java
CommitLineData
7131093c
FT
1package 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 */
8public 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}