Top Description Fields Constructors Methods
org.springframework.r2dbc

public Class UncategorizedR2dbcException

extends UncategorizedDataAccessException
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
io.r2dbc.spi.R2dbcException, org.springframework.dao.UncategorizedDataAccessException, org.springframework.lang.Nullable

Exception thrown when we can't classify a R2dbcException into one of our generic data access exceptions.
Author
Mark Paluch
Since
5.3

Field Summary

Modifier and TypeField and Description
private final String
sql

SQL that led to the problem.

Constructor Summary

AccessConstructor and Description
public
UncategorizedR2dbcException(String
the detail message
msg
,
String
the offending SQL statement
sql
,
R2dbcException
the exception thrown by underlying data access API
ex
)

Constructor for UncategorizedSQLException.

Method Summary

Modifier and TypeMethod and Description
public R2dbcException
getR2dbcException()

Return the wrapped R2dbcException.

public String
getSql()

Return the SQL that led to the problem (if known).

Field Detail

sqlback to summary
private final String sql

SQL that led to the problem.

Annotations
@Nullable

Constructor Detail

UncategorizedR2dbcExceptionback to summary
public UncategorizedR2dbcException(String msg, String sql, R2dbcException ex)

Constructor for UncategorizedSQLException.

Parameters
msg:String

the detail message

sql:String

the offending SQL statement

ex:R2dbcException

the exception thrown by underlying data access API

Method Detail

getR2dbcExceptionback to summary
public R2dbcException getR2dbcException()

Return the wrapped R2dbcException.

getSqlback to summary
public String getSql()

Return the SQL that led to the problem (if known).

Annotations
@Nullable