f00f.net.irc.martyr.errors
Class ChannelBannedError

java.lang.Object
  extended by f00f.net.irc.martyr.commands.AbstractInCommand
      extended by f00f.net.irc.martyr.errors.GenericError
          extended by f00f.net.irc.martyr.errors.GenericJoinError
              extended by f00f.net.irc.martyr.errors.ChannelBannedError
All Implemented Interfaces:
Command, InCommand

public class ChannelBannedError
extends GenericJoinError

Code: 474 ERR_BANNEDFROMCHAN <channel> :Cannot join channel (+b)

Version:
$Id: ChannelBannedError.java 85 2007-08-02 18:26:59Z jadestorm $ TODO: Should er rename this to BannedFromChanError to match others?
Author:
Morgan Christiansson

Field Summary
 
Fields inherited from class f00f.net.irc.martyr.commands.AbstractInCommand
attributes
 
Constructor Summary
  ChannelBannedError()
           
protected ChannelBannedError(java.lang.String chan, java.lang.String comment)
           
 
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 f00f.net.irc.martyr.errors.GenericJoinError
getChannel, getComment, getState, parse
 
Methods inherited from class f00f.net.irc.martyr.commands.AbstractInCommand
getAttribute, getAttributeKeys, getIntParameter, getParameter, getSourceString, selfRegister, setAttribute, setSourceString, updateClientState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelBannedError

public ChannelBannedError()

ChannelBannedError

protected ChannelBannedError(java.lang.String chan,
                             java.lang.String comment)
Method Detail

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.