com.github.shyiko.mysql.binlog.network.protocol
Class ErrorPacket

java.lang.Object
  extended by com.github.shyiko.mysql.binlog.network.protocol.ErrorPacket
All Implemented Interfaces:
Packet

public class ErrorPacket
extends Object
implements Packet

Author:
Stanley Shyiko

Field Summary
 
Fields inherited from interface com.github.shyiko.mysql.binlog.network.protocol.Packet
MAX_LENGTH
 
Constructor Summary
ErrorPacket(byte[] bytes)
           
 
Method Summary
 int getErrorCode()
           
 String getErrorMessage()
           
 String getSqlState()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorPacket

public ErrorPacket(byte[] bytes)
            throws IOException
Throws:
IOException
Method Detail

getErrorCode

public int getErrorCode()

getSqlState

public String getSqlState()

getErrorMessage

public String getErrorMessage()


Copyright © 2016. All Rights Reserved.