public final class ExceptionFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static ExceptionFactory |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
static io.r2dbc.spi.R2dbcException |
createException(ErrorPacket error,
String sql) |
io.r2dbc.spi.R2dbcException |
createException(String message,
String sqlState,
int errorCode) |
static io.r2dbc.spi.R2dbcException |
createException(String message,
String sqlState,
int errorCode,
String sql) |
io.r2dbc.spi.R2dbcException |
from(ErrorPacket err) |
void |
handleErrorResponse(ServerMessage message,
reactor.core.publisher.SynchronousSink<ServerMessage> sink) |
static ExceptionFactory |
withSql(String sql) |
public static final ExceptionFactory INSTANCE
public static ExceptionFactory withSql(String sql)
public static io.r2dbc.spi.R2dbcException createException(ErrorPacket error, String sql)
public static io.r2dbc.spi.R2dbcException createException(String message, String sqlState, int errorCode, String sql)
public io.r2dbc.spi.R2dbcException createException(String message, String sqlState, int errorCode)
public io.r2dbc.spi.R2dbcException from(ErrorPacket err)
public void handleErrorResponse(ServerMessage message, reactor.core.publisher.SynchronousSink<ServerMessage> sink)
Copyright © 2020 MariaDB Corporation Ab. All rights reserved.