summaryrefslogtreecommitdiffstats
path: root/EssentialsUpdate/src/f00f/net/irc/martyr/errors/KeySetError.java
diff options
context:
space:
mode:
Diffstat (limited to 'EssentialsUpdate/src/f00f/net/irc/martyr/errors/KeySetError.java')
-rw-r--r--EssentialsUpdate/src/f00f/net/irc/martyr/errors/KeySetError.java45
1 files changed, 0 insertions, 45 deletions
diff --git a/EssentialsUpdate/src/f00f/net/irc/martyr/errors/KeySetError.java b/EssentialsUpdate/src/f00f/net/irc/martyr/errors/KeySetError.java
deleted file mode 100644
index 0d938263b..000000000
--- a/EssentialsUpdate/src/f00f/net/irc/martyr/errors/KeySetError.java
+++ /dev/null
@@ -1,45 +0,0 @@
-package f00f.net.irc.martyr.errors;
-
-import f00f.net.irc.martyr.InCommand;
-
-/**
- * Code: 467 ERR_KEYSEY
- * <channel> :Channel key already set
- */
-public class KeySetError extends GenericError
-{
- private String channel;
- private String errorMessage;
-
- public KeySetError()
- {
- }
-
- public KeySetError(String channel, String errorMessage)
- {
- this.channel = channel;
- this.errorMessage = errorMessage;
- }
-
- public String getIrcIdentifier()
- {
- return "467";
- }
-
- public InCommand parse( String prefix, String identifier, String params )
- {
- return new KeySetError(getParameter(params, 1), getParameter(params, 2));
- }
-
- public String getChannel()
- {
- return channel;
- }
-
- public String getErrorMessage()
- {
- return errorMessage;
- }
-
-}
-