Package com.mysql.cj.exceptions
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
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CJPacketTooBigException()
CJPacketTooBigException(long packetSize, long maximumPacketSize)
Creates a new CJPacketTooBigException object.CJPacketTooBigException(java.lang.String message)
CJPacketTooBigException(java.lang.String message, java.lang.Throwable cause)
CJPacketTooBigException(java.lang.Throwable cause)
-
Method Summary
Methods inherited from class com.mysql.cj.exceptions.CJException
appendMessage, getMessage, getSQLState, getVendorCode, isTransient, setSQLState, setTransient, setVendorCode
-
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 sentmaximumPacketSize
- the maximum size the server will accept
-