Package org.springframework.r2dbc
Class UncategorizedR2dbcException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.dao.NonTransientDataAccessException
org.springframework.dao.UncategorizedDataAccessException
org.springframework.r2dbc.UncategorizedR2dbcException
- All Implemented Interfaces:
Serializable
Exception thrown when we can't classify a
R2dbcException
into
one of our generic data access exceptions.- Since:
- 5.3
- Author:
- Mark Paluch
- See Also:
-
Constructor Summary
ConstructorDescriptionUncategorizedR2dbcException
(String msg, String sql, R2dbcException ex) Constructor forUncategorizedSQLException
. -
Method Summary
Modifier and TypeMethodDescriptionReturn the wrappedR2dbcException
.getSql()
Return the SQL that led to the problem (if known).Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UncategorizedR2dbcException
Constructor forUncategorizedSQLException
.- Parameters:
msg
- the detail messagesql
- the offending SQL statementex
- the exception thrown by underlying data access API
-
-
Method Details
-
getR2dbcException
Return the wrappedR2dbcException
. -
getSql
Return the SQL that led to the problem (if known).
-