Class PacketQueuePolicyViolationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.tenio.core.exception.PacketQueuePolicyViolationException
All Implemented Interfaces:
Serializable

public final class PacketQueuePolicyViolationException extends RuntimeException
When the packet queue, which is using to send packet from the server to clients side, has any policy is violated.
See Also:
  • Constructor Details

    • PacketQueuePolicyViolationException

      public PacketQueuePolicyViolationException(Packet packet, float percentageUsed)
      Creates a new exception.
      Parameters:
      packet - the dropping Packet
      percentageUsed - the current usage of queue in percent (float value)
      See Also: