summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/psmb4j/error/ServerMisbehaveException.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/keuin/psmb4j/error/ServerMisbehaveException.java')
-rw-r--r--src/main/java/com/keuin/psmb4j/error/ServerMisbehaveException.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/com/keuin/psmb4j/error/ServerMisbehaveException.java b/src/main/java/com/keuin/psmb4j/error/ServerMisbehaveException.java
new file mode 100644
index 0000000..8aa1449
--- /dev/null
+++ b/src/main/java/com/keuin/psmb4j/error/ServerMisbehaveException.java
@@ -0,0 +1,10 @@
+package com.keuin.psmb4j.error;
+
+/**
+ * The server made an illegal response, which conflicts to the protocol definition.
+ */
+public class ServerMisbehaveException extends BadProtocolException {
+ public ServerMisbehaveException(String message) {
+ super(message);
+ }
+}