@Deprecated public class InvalidResultAccessException extends InvalidDataAccessResourceUsageException
Result has been accessed in an invalid fashion. Such exceptions always
have a R2dbcException root cause.
This typically happens when an invalid FetchSpec column index or name has
been specified.
BadSqlGrammarException,
Serialized Form| Constructor and Description |
|---|
InvalidResultAccessException(R2dbcException ex)
Deprecated.
Creates a new
InvalidResultAccessException. |
InvalidResultAccessException(String task,
String sql,
R2dbcException ex)
Deprecated.
Creates a new
InvalidResultAccessException. |
| Modifier and Type | Method and Description |
|---|---|
R2dbcException |
getR2dbcException()
Deprecated.
Return the wrapped
R2dbcException. |
String |
getSql()
Deprecated.
Return the SQL that caused the problem.
|
contains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidResultAccessException(String task, @Nullable String sql, R2dbcException ex)
InvalidResultAccessException.task - name of current task.sql - the offending SQL statement.ex - the root cause.public InvalidResultAccessException(R2dbcException ex)
InvalidResultAccessException.ex - the root cause.public R2dbcException getR2dbcException()
R2dbcException.Copyright © 2018–2021 Pivotal Software, Inc.. All rights reserved.