com.github.shyiko.mysql.binlog.network.protocol
Class ErrorPacket
java.lang.Object
com.github.shyiko.mysql.binlog.network.protocol.ErrorPacket
- All Implemented Interfaces:
- Packet
public class ErrorPacket
- extends Object
- implements Packet
- Author:
- Stanley Shyiko
| Fields inherited from interface com.github.shyiko.mysql.binlog.network.protocol.Packet |
MAX_LENGTH |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorPacket
public ErrorPacket(byte[] bytes)
throws IOException
- Throws:
IOException
getErrorCode
public int getErrorCode()
getSqlState
public String getSqlState()
getErrorMessage
public String getErrorMessage()
Copyright © 2016. All Rights Reserved.