Class PacketTooBigException

All Implemented Interfaces:
Serializable, Iterable<Throwable>

public class PacketTooBigException extends SQLException
Thrown when a packet that is too big for the server is created.
See Also:
  • Field Details

  • Constructor Details

    • PacketTooBigException

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