Package com.tenio.core.exception
Class PacketQueuePolicyViolationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.tenio.core.exception.PacketQueuePolicyViolationException
- All Implemented Interfaces:
Serializable
When the packet queue, which is using to send packet from the server to clients side, has
any policy is violated.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPacketQueuePolicyViolationException(Packet packet, float percentageUsed) Creates a new exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PacketQueuePolicyViolationException
Creates a new exception.- Parameters:
packet- the droppingPacketpercentageUsed- the current usage of queue in percent (floatvalue)- See Also:
-