Package org.mariadb.jdbc.export
Class MaxAllowedPacketException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.mariadb.jdbc.export.MaxAllowedPacketException
-
- All Implemented Interfaces:
java.io.Serializable
public class MaxAllowedPacketException extends java.io.IOException
Dedicate exception when error is due to sending packet with size > to server max_allowed_packet, that would cause server to drop connection- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
mustReconnect
is connection in wrong stateprivate static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description MaxAllowedPacketException(java.lang.String message, boolean mustReconnect)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isMustReconnect()
Indicate that connection state is unsure
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
mustReconnect
private final boolean mustReconnect
is connection in wrong state
-
-