Class CJPacketTooBigException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.mysql.cj.exceptions.CJException
com.mysql.cj.exceptions.CJPacketTooBigException
All Implemented Interfaces:
java.io.Serializable

public class CJPacketTooBigException
extends CJException
Thrown when a packet that is too big for the server is created.
See Also:
Serialized Form
  • Constructor Details

    • CJPacketTooBigException

      public CJPacketTooBigException()
    • CJPacketTooBigException

      public CJPacketTooBigException​(java.lang.String message)
    • CJPacketTooBigException

      public CJPacketTooBigException​(java.lang.Throwable cause)
    • CJPacketTooBigException

      public CJPacketTooBigException​(java.lang.String message, java.lang.Throwable cause)
    • CJPacketTooBigException

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