public abstract class R2dbcNonTransientException extends R2dbcException
getErrorCode, getSql, getSqlState, toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public R2dbcNonTransientException()
R2dbcNonTransientException
.public R2dbcNonTransientException(@Nullable String reason)
R2dbcNonTransientException
.reason
- the reason for the error. Set as the exception's message and retrieved with Throwable.getMessage()
.public R2dbcNonTransientException(@Nullable String reason, @Nullable String sqlState)
R2dbcNonTransientException
.reason
- the reason for the error. Set as the exception's message and retrieved with Throwable.getMessage()
.sqlState
- the "SQLState" string, which follows either the XOPEN SQLState conventions or the SQL:2003
conventionspublic R2dbcNonTransientException(@Nullable String reason, @Nullable String sqlState, int errorCode)
R2dbcNonTransientException
.reason
- the reason for the error. Set as the exception's message and retrieved with Throwable.getMessage()
.sqlState
- the "SQLState" string, which follows either the XOPEN SQLState conventions or the SQL:2003
conventionserrorCode
- a vendor-specific error code representing this failurepublic R2dbcNonTransientException(@Nullable String reason, @Nullable String sqlState, int errorCode, @Nullable String sql)
R2dbcNonTransientException
.reason
- the reason for the error. Set as the exception's message and retrieved with Throwable.getMessage()
.sqlState
- the "SQLState" string, which follows either the XOPEN SQLState conventions or the SQL:2003
conventionserrorCode
- a vendor-specific error code representing this failuresql
- the SQL statement that caused this errorpublic R2dbcNonTransientException(@Nullable String reason, @Nullable String sqlState, int errorCode, @Nullable String sql, @Nullable Throwable cause)
R2dbcNonTransientException
.reason
- the reason for the error. Set as the exception's message and retrieved with Throwable.getMessage()
.sqlState
- the "SQLState" string, which follows either the XOPEN SQLState conventions or the SQL:2003
conventionserrorCode
- a vendor-specific error code representing this failuresql
- the SQL statement that caused this errorcause
- the causepublic R2dbcNonTransientException(@Nullable String reason, @Nullable String sqlState, int errorCode, @Nullable Throwable cause)
R2dbcNonTransientException
.reason
- the reason for the error. Set as the exception's message and retrieved with Throwable.getMessage()
.sqlState
- the "SQLState" string, which follows either the XOPEN SQLState conventions or the SQL:2003
conventionserrorCode
- a vendor-specific error code representing this failurecause
- the causepublic R2dbcNonTransientException(@Nullable String reason, @Nullable String sqlState, @Nullable Throwable cause)
R2dbcNonTransientException
.reason
- the reason for the error. Set as the exception's message and retrieved with Throwable.getMessage()
.sqlState
- the "SQLState" string, which follows either the XOPEN SQLState conventions or the SQL:2003
conventionscause
- the causepublic R2dbcNonTransientException(@Nullable String reason, @Nullable Throwable cause)
R2dbcNonTransientException
.reason
- the reason for the error. Set as the exception's message and retrieved with Throwable.getMessage()
.cause
- the causepublic R2dbcNonTransientException(@Nullable Throwable cause)
R2dbcNonTransientException
.cause
- the causeCopyright © 2022. All rights reserved.