f00f.net.irc.martyr.errors
Class ChannelWrongKeyError
java.lang.Object
f00f.net.irc.martyr.commands.AbstractInCommand
f00f.net.irc.martyr.errors.GenericError
f00f.net.irc.martyr.errors.GenericJoinError
f00f.net.irc.martyr.errors.ChannelWrongKeyError
- All Implemented Interfaces:
- Command, InCommand
public class ChannelWrongKeyError
- extends GenericJoinError
Code: 475 ERR_BADCHANNELKEY
<channel> :Cannot join channel (+k)
- Version:
- $Id: ChannelWrongKeyError.java 85 2007-08-02 18:26:59Z jadestorm $
TODO: Should we rename to BadChannelKeyError to match others?
- Author:
- Morgan Christiansson
Method Summary |
protected InCommand |
create(java.lang.String channel,
java.lang.String comment)
|
java.lang.String |
getIrcIdentifier()
Returns the string IRC uses to identify this command. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChannelWrongKeyError
public ChannelWrongKeyError()
ChannelWrongKeyError
protected ChannelWrongKeyError(java.lang.String chan,
java.lang.String comment)
getIrcIdentifier
public java.lang.String getIrcIdentifier()
- Description copied from interface:
Command
- Returns the string IRC uses to identify this command. Examples:
NICK, PING, KILL, 332. Not strictly required for OutCommands
as the irc identifier is expected to be part of the reder()
result.
- Returns:
- The IRC identifier string
create
protected InCommand create(java.lang.String channel,
java.lang.String comment)
- Specified by:
create
in class GenericJoinError
Copyright © 2000-2007 Ben Damm, Daniel Henninger, et al.