public final class ErrorPacket extends Object implements com.singlestore.jdbc.message.ServerMessage
| Constructor and Description |
|---|
ErrorPacket(com.singlestore.jdbc.client.ReadableByteBuf buf,
com.singlestore.jdbc.client.Context context)
+--------------------------------------------------+ | 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------------------------------------------------+------------------+ | 17 00 00 01 FF 10 04
54 6F 6F 20 6D 61 6E 79 20 | .......Too many | | 63 6F 6E 6E 65 63 74 69 6F 6E 73 | connections
| +--------------------------------------------------+------------------+
|
| Modifier and Type | Method and Description |
|---|---|
short |
getErrorCode()
Error code
|
String |
getMessage()
Error message
|
String |
getSqlState()
SQL State
|
public ErrorPacket(com.singlestore.jdbc.client.ReadableByteBuf buf,
com.singlestore.jdbc.client.Context context)
buf - error packet buffercontext - current contextCopyright © 2025 SingleStore. All rights reserved.