ServerError is an enumerated type that lists all possible
response codes a server can send to a client. Each response has
both a string and integer 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 type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
Parameters:
name - the name of the enum constant to be returned.