com.mysql.jdbc
Class PacketTooBigException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.sql.SQLException
              extended bycom.mysql.jdbc.PacketTooBigException
All Implemented Interfaces:
java.io.Serializable

public class PacketTooBigException
extends java.sql.SQLException

Thrown when a packet that is too big for the server is created.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
PacketTooBigException(long packetSize, long maximumPacketSize)
          Creates a new PacketTooBigException object.
 
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, setNextException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PacketTooBigException

public PacketTooBigException(long packetSize,
                             long maximumPacketSize)
Creates a new PacketTooBigException object.

Parameters:
packetSize - DOCUMENT ME!
maximumPacketSize - DOCUMENT ME!