类 CJPacketTooBigException

  • 所有已实现的接口:
    Serializable

    public class CJPacketTooBigException
    extends CJException
    Thrown when a packet that is too big for the server is created.
    另请参阅:
    序列化表格
    • 构造器详细资料

      • CJPacketTooBigException

        public CJPacketTooBigException()
      • CJPacketTooBigException

        public CJPacketTooBigException​(String message)
      • CJPacketTooBigException

        public CJPacketTooBigException​(Throwable cause)
      • CJPacketTooBigException

        public CJPacketTooBigException​(String message,
                                       Throwable cause)
      • CJPacketTooBigException

        public CJPacketTooBigException​(long packetSize,
                                       long maximumPacketSize)
        Creates a new CJPacketTooBigException object.
        参数:
        packetSize - the size of the packet that was going to be sent
        maximumPacketSize - the maximum size the server will accept