ErrorCode is an enumerated type (enum) that lists all possible
response codes a server can send to a client in the case of an
erroneous command. Each response has both a string and int representation.
You do not need to modify this file.
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Response by the server when a client attempts to send a command
requiring the sender to be in the specified channel to a
channel in which he or she is not a member.
Response by the server when a client which does not own a
channel attempts to send a command that is restricted to the
owner; currently, the only such command is KICK.
Response by the server when a client attempts to send a command
requiring the sender to be in the specified channel to a
channel in which he or she is not a member.
Response by the server when a client which does not own a
channel attempts to send a command that is restricted to the
owner; currently, the only such command is KICK.
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (Extraneous whitespace characters are
not permitted.)
Parameters:
name - the name of the enum constant to be returned.