Package org.mariadb.r2dbc.message.server
Class ErrorPacket
- java.lang.Object
-
- org.mariadb.r2dbc.message.server.ErrorPacket
-
- All Implemented Interfaces:
io.r2dbc.spi.Result.Message,io.r2dbc.spi.Result.Segment,ServerMessage
public final class ErrorPacket extends Object implements ServerMessage, io.r2dbc.spi.Result.Message
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ErrorPacketdecode(Sequencer sequencer, io.netty.buffer.ByteBuf buf, boolean ending)booleanending()interrorCode()io.r2dbc.spi.R2dbcExceptionexception()StringgetMessage()Stringmessage()StringsqlState()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.mariadb.r2dbc.message.ServerMessage
refCnt, release, resultSetEnd
-
-
-
-
Method Detail
-
decode
public static ErrorPacket decode(Sequencer sequencer, io.netty.buffer.ByteBuf buf, boolean ending)
-
getMessage
public String getMessage()
-
exception
public io.r2dbc.spi.R2dbcException exception()
- Specified by:
exceptionin interfaceio.r2dbc.spi.Result.Message
-
errorCode
public int errorCode()
- Specified by:
errorCodein interfaceio.r2dbc.spi.Result.Message
-
sqlState
public String sqlState()
- Specified by:
sqlStatein interfaceio.r2dbc.spi.Result.Message
-
message
public String message()
- Specified by:
messagein interfaceio.r2dbc.spi.Result.Message
-
ending
public boolean ending()
- Specified by:
endingin interfaceServerMessage
-
-