Top Description Fields Constructors Methods
com.mysql.cj.jdbc.exceptions

public Class PacketTooBigException

extends SQLException
Class Inheritance
Imports
java.sql.SQLException, com.mysql.cj.Messages, com.mysql.cj.exceptions.MysqlErrorNumbers

Thrown when a packet that is too big for the server is created.

Field Summary

Modifier and TypeField and Description
pack-priv static final long

Constructor Summary

AccessConstructor and Description
public
PacketTooBigException(long
the size of the packet that was going to be sent
packetSize
,
long
the maximum size the server will accept
maximumPacketSize
)

Creates a new PacketTooBigException object.

public

Method Summary

Inherited from java.sql.SQLException:
getErrorCodegetNextExceptiongetSQLStateiteratorsetNextException

Field Detail

serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides java.sql.SQLException.serialVersionUID.

Constructor Detail

PacketTooBigExceptionback to summary
public PacketTooBigException(long packetSize, long maximumPacketSize)

Creates a new PacketTooBigException object.

Parameters
packetSize:long

the size of the packet that was going to be sent

maximumPacketSize:long

the maximum size the server will accept

PacketTooBigExceptionback to summary
public PacketTooBigException(String message)