/// <param name="messageKey">The Message Key</param>
/// <param name="message">An IMessage object Deserialized from the recieved message event</param>
/// <param name="simulator">The simulator originating the event message</param>
public void TeleportFailedEventHandler(String messageKey, IMessage message, Simulator simulator) throws UnknownHostException, Exception
{
TeleportFailedMessage msg = (TeleportFailedMessage)message;
TeleportFailedPacket failedPacket = new TeleportFailedPacket();
failedPacket.Info.AgentID = msg.AgentID;
failedPacket.Info.Reason = Utils.stringToBytesWithTrailingNullByte(msg.Reason);