public class R2dbcTransientResourceException extends R2dbcTransientException
Constructor and Description |
---|
R2dbcTransientResourceException()
Creates a new
R2dbcTransientResourceException . |
R2dbcTransientResourceException(String reason)
Creates a new
R2dbcTransientResourceException . |
R2dbcTransientResourceException(String reason,
String sqlState)
Creates a new
R2dbcTransientResourceException . |
R2dbcTransientResourceException(String reason,
String sqlState,
int errorCode)
Creates a new
R2dbcTransientResourceException . |
R2dbcTransientResourceException(String reason,
String sqlState,
int errorCode,
Throwable cause)
Creates a new
R2dbcTransientResourceException . |
R2dbcTransientResourceException(String reason,
String sqlState,
Throwable cause)
Creates a new
R2dbcTransientResourceException . |
R2dbcTransientResourceException(String reason,
Throwable cause)
Creates a new
R2dbcTransientResourceException . |
R2dbcTransientResourceException(Throwable cause)
Creates a new
R2dbcTransientResourceException . |
getErrorCode, getSqlState, toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public R2dbcTransientResourceException()
R2dbcTransientResourceException
.public R2dbcTransientResourceException(@Nullable String reason)
R2dbcTransientResourceException
.reason
- the reason for the error. Set as the exception's message and retrieved with Throwable.getMessage()
.public R2dbcTransientResourceException(@Nullable String reason, @Nullable String sqlState)
R2dbcTransientResourceException
.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 R2dbcTransientResourceException(@Nullable String reason, @Nullable String sqlState, int errorCode)
R2dbcTransientResourceException
.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 R2dbcTransientResourceException(@Nullable String reason, @Nullable String sqlState, int errorCode, @Nullable Throwable cause)
R2dbcTransientResourceException
.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 R2dbcTransientResourceException(@Nullable String reason, @Nullable String sqlState, @Nullable Throwable cause)
R2dbcTransientResourceException
.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 R2dbcTransientResourceException(@Nullable String reason, @Nullable Throwable cause)
R2dbcTransientResourceException
.reason
- the reason for the error. Set as the exception's message and retrieved with Throwable.getMessage()
.cause
- the causepublic R2dbcTransientResourceException(@Nullable Throwable cause)
R2dbcTransientResourceException
.cause
- the causeCopyright © 2019. All rights reserved.