com.planet_ink.coffee_mud.core.intermud.i3.packets
Class ErrorPacket

java.lang.Object
  extended by com.planet_ink.coffee_mud.core.intermud.i3.packets.Packet
      extended by com.planet_ink.coffee_mud.core.intermud.i3.packets.ErrorPacket

public class ErrorPacket
extends Packet

Copyright (c) 2010-2018 Bo Zimmerman Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


Field Summary
 java.lang.String error_code
           
 java.lang.String error_message
           
 java.lang.String packetStr
           
 
Fields inherited from class com.planet_ink.coffee_mud.core.intermud.i3.packets.Packet
CHAN_ADD, CHAN_EMOTE, CHAN_LISTEN, CHAN_MESSAGE, CHAN_REMOVE, CHAN_TARGET, CHAN_USER_REP, CHAN_USER_REQ, CHAN_WHO_REP, CHAN_WHO_REQ, ERROR_PACKET, FINGER_REPLY, FINGER_REQUEST, LOCATE_QUERY, LOCATE_REPLY, MAUTH_REPLY, MAUTH_REQUEST, PING_PACKET, sender_mud, sender_name, SHUTDOWN, target_mud, target_name, TELL, type, WHO_REPLY, WHO_REQUEST
 
Constructor Summary
ErrorPacket()
           
ErrorPacket(java.lang.String to_whom, java.lang.String mud, java.lang.String error_code, java.lang.String error_message, java.lang.String packetStr)
           
ErrorPacket(java.util.Vector<?> v)
           
 
Method Summary
 void send()
           
 java.lang.String toString()
           
 
Methods inherited from class com.planet_ink.coffee_mud.core.intermud.i3.packets.Packet
convertString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

error_code

public java.lang.String error_code

error_message

public java.lang.String error_message

packetStr

public java.lang.String packetStr
Constructor Detail

ErrorPacket

public ErrorPacket()

ErrorPacket

public ErrorPacket(java.lang.String to_whom,
                   java.lang.String mud,
                   java.lang.String error_code,
                   java.lang.String error_message,
                   java.lang.String packetStr)

ErrorPacket

public ErrorPacket(java.util.Vector<?> v)
            throws InvalidPacketException
Throws:
InvalidPacketException
Method Detail

send

public void send()
          throws InvalidPacketException
Overrides:
send in class Packet
Throws:
InvalidPacketException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object