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

public Class CJPacketTooBigException

extends CJException
Class Inheritance
Imports
com.mysql.cj.Messages

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

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from com.mysql.cj.exceptions.CJException:
exceptionMessage

Constructor Summary

AccessConstructor and Description
public
public
public
public
public
CJPacketTooBigException(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 CJPacketTooBigException object.

Method Summary

Inherited from com.mysql.cj.exceptions.CJException:
appendMessagegetMessagegetSQLStategetVendorCodeisTransientsetSQLStatesetTransientsetVendorCode

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.mysql.cj.exceptions.CJException.serialVersionUID.

Constructor Detail

CJPacketTooBigExceptionback to summary
public CJPacketTooBigException()
CJPacketTooBigExceptionback to summary
public CJPacketTooBigException(String message)
CJPacketTooBigExceptionback to summary
public CJPacketTooBigException(Throwable cause)
CJPacketTooBigExceptionback to summary
public CJPacketTooBigException(String message, Throwable cause)
CJPacketTooBigExceptionback to summary
public CJPacketTooBigException(long packetSize, long maximumPacketSize)

Creates a new CJPacketTooBigException object.

Parameters
packetSize:long

the size of the packet that was going to be sent

maximumPacketSize:long

the maximum size the server will accept