summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/psmb4j/error/BadProtocolException.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/keuin/psmb4j/error/BadProtocolException.java')
-rw-r--r--src/main/java/com/keuin/psmb4j/error/BadProtocolException.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main/java/com/keuin/psmb4j/error/BadProtocolException.java b/src/main/java/com/keuin/psmb4j/error/BadProtocolException.java
new file mode 100644
index 0000000..893b8c3
--- /dev/null
+++ b/src/main/java/com/keuin/psmb4j/error/BadProtocolException.java
@@ -0,0 +1,13 @@
+package com.keuin.psmb4j.error;
+
+/**
+ * The server speaks a bad protocol which is not compatible to the client.
+ */
+public class BadProtocolException extends RuntimeException {
+ public BadProtocolException() {
+ }
+
+ public BadProtocolException(String message) {
+ super(message);
+ }
+}