/// <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);
TeleportHandler(this, new PacketReceivedEventArgs(failedPacket, simulator));
}