Class PacketTooBigException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
com.mysql.jdbc.PacketTooBigException
- All Implemented Interfaces:
Serializable, Iterable<Throwable>
Thrown when a packet that is too big for the server is created.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPacketTooBigException(long packetSize, long maximumPacketSize) Creates a new PacketTooBigException object. -
Method Summary
Methods inherited from class SQLException
getErrorCode, getNextException, getSQLState, iterator, setNextExceptionMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
-
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 sentmaximumPacketSize- the maximum size the server will accept
-