1 19 package com.mysql.jdbc; 20 21 import java.sql.SQLException ; 22 23 24 30 public class PacketTooBigException extends SQLException { 31 37 public PacketTooBigException(long packetSize, long maximumPacketSize) { 38 super("Packet for query is too large (" + packetSize + " > " 39 + maximumPacketSize + "). " 40 + "You can change this value on the server by setting the " 41 + "max_allowed_packet' variable.", SQLError.SQL_STATE_GENERAL_ERROR); 42 } 43 } 44 | Popular Tags |