public class UncategorizedR2dbcException extends UncategorizedDataAccessException
R2dbcException
into one of our generic data access exceptions.Constructor and Description |
---|
UncategorizedR2dbcException(String task,
String sql,
R2dbcException ex)
Creates a new
UncategorizedR2dbcException . |
Modifier and Type | Method and Description |
---|---|
R2dbcException |
getR2dbcException()
Returns the original
R2dbcException . |
String |
getSql()
Return the SQL that led to the problem (if known).
|
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UncategorizedR2dbcException(String task, @Nullable String sql, R2dbcException ex)
UncategorizedR2dbcException
.task
- name of current tasksql
- the offending SQL statementex
- the root causepublic R2dbcException getR2dbcException()
R2dbcException
.R2dbcException
.Copyright © 2018–2020 Pivotal Software, Inc.. All rights reserved.