类 PacketTooBigException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.sql.SQLException
-
- com.mysql.cj.jdbc.exceptions.PacketTooBigException
-
- 所有已实现的接口:
Serializable,Iterable<Throwable>
public class PacketTooBigException extends SQLException
Thrown when a packet that is too big for the server is created.- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 PacketTooBigException(long packetSize, long maximumPacketSize)Creates a new PacketTooBigException object.PacketTooBigException(String message)
-
方法概要
-
从类继承的方法 java.sql.SQLException
getErrorCode, getNextException, getSQLState, iterator, setNextException
-
从类继承的方法 java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 java.lang.Iterable
forEach, spliterator
-
-
-
-
构造器详细资料
-
PacketTooBigException
public PacketTooBigException(long packetSize, long maximumPacketSize)Creates a new PacketTooBigException object.- 参数:
packetSize- the size of the packet that was going to be sentmaximumPacketSize- the maximum size the server will accept
-
PacketTooBigException
public PacketTooBigException(String message)
-
-