Class ExceptionFactory


  • public final class ExceptionFactory
    extends Object
    • Method Detail

      • createException

        public static io.r2dbc.spi.R2dbcException createException​(ErrorPacket error,
                                                                  String sql)
      • createParsingException

        public io.r2dbc.spi.R2dbcException createParsingException​(String message)
      • createParsingException

        public io.r2dbc.spi.R2dbcException createParsingException​(String message,
                                                                  Throwable cause)
      • createConnectionErrorException

        public io.r2dbc.spi.R2dbcException createConnectionErrorException​(String message)
      • createConnectionErrorException

        public io.r2dbc.spi.R2dbcException createConnectionErrorException​(String message,
                                                                          Throwable cause)
      • createException

        public static io.r2dbc.spi.R2dbcException createException​(String message,
                                                                  String sqlState,
                                                                  int errorCode,
                                                                  String sql)
      • createException

        public io.r2dbc.spi.R2dbcException createException​(String message,
                                                           String sqlState,
                                                           int errorCode)
      • from

        public io.r2dbc.spi.R2dbcException from​(ErrorPacket err)
      • handleErrorResponse

        public void handleErrorResponse​(ServerMessage message,
                                        reactor.core.publisher.SynchronousSink<ServerMessage> sink)