Top Description Constructors Methods
io.r2dbc.spi

public abstract Class R2dbcNonTransientException

extends R2dbcException
Class Inheritance
Known Direct Subclasses
io.r2dbc.spi.R2dbcNonTransientResourceException, io.r2dbc.spi.R2dbcPermissionDeniedException, io.r2dbc.spi.R2dbcBadGrammarException, io.r2dbc.spi.R2dbcDataIntegrityViolationException

Base exception thrown when a retry of the same operation would fail unless the cause of the exception is corrected.
See Also
R2dbcBadGrammarException, R2dbcDataIntegrityViolationException, R2dbcPermissionDeniedException, R2dbcNonTransientResourceException

Constructor Summary

AccessConstructor and Description
public
public
R2dbcNonTransientException(String
the reason for the error. Set as the exception's message and retrieved with getMessage().
reason
)

Creates a new R2dbcNonTransientException.

public
R2dbcNonTransientException(String
the reason for the error. Set as the exception's message and retrieved with getMessage().
reason
,
String
the "SQLState" string, which follows either the XOPEN SQLState conventions or the SQL:2003 conventions
sqlState
)

Creates a new R2dbcNonTransientException.

public
R2dbcNonTransientException(String
the reason for the error. Set as the exception's message and retrieved with getMessage().
reason
,
String
the "SQLState" string, which follows either the XOPEN SQLState conventions or the SQL:2003 conventions
sqlState
,
int
a vendor-specific error code representing this failure
errorCode
)

Creates a new R2dbcNonTransientException.

public
R2dbcNonTransientException(String
the reason for the error. Set as the exception's message and retrieved with getMessage().
reason
,
String
the "SQLState" string, which follows either the XOPEN SQLState conventions or the SQL:2003 conventions
sqlState
,
int
a vendor-specific error code representing this failure
errorCode
,
String
the SQL statement that caused this error
sql
)

Creates a new R2dbcNonTransientException.

public
R2dbcNonTransientException(String
the reason for the error. Set as the exception's message and retrieved with getMessage().
reason
,
String
the "SQLState" string, which follows either the XOPEN SQLState conventions or the SQL:2003 conventions
sqlState
,
int
a vendor-specific error code representing this failure
errorCode
,
String
the SQL statement that caused this error
sql
,
Throwable
the cause
cause
)

Creates a new R2dbcNonTransientException.

public
R2dbcNonTransientException(String
the reason for the error. Set as the exception's message and retrieved with getMessage().
reason
,
String
the "SQLState" string, which follows either the XOPEN SQLState conventions or the SQL:2003 conventions
sqlState
,
int
a vendor-specific error code representing this failure
errorCode
,
Throwable
the cause
cause
)

Creates a new R2dbcNonTransientException.

public
R2dbcNonTransientException(String
the reason for the error. Set as the exception's message and retrieved with getMessage().
reason
,
String
the "SQLState" string, which follows either the XOPEN SQLState conventions or the SQL:2003 conventions
sqlState
,
Throwable
the cause
cause
)

Creates a new R2dbcNonTransientException.

public
R2dbcNonTransientException(String
the reason for the error. Set as the exception's message and retrieved with getMessage().
reason
,
Throwable
the cause
cause
)

Creates a new R2dbcNonTransientException.

public

Method Summary

Inherited from io.r2dbc.spi.R2dbcException:
getErrorCodegetSqlgetSqlStatetoString

Constructor Detail

R2dbcNonTransientExceptionback to summary
public R2dbcNonTransientException()

Creates a new R2dbcNonTransientException.

R2dbcNonTransientExceptionback to summary
public R2dbcNonTransientException(String reason)

Creates a new R2dbcNonTransientException.

Parameters
reason:String

the reason for the error. Set as the exception's message and retrieved with getMessage().

R2dbcNonTransientExceptionback to summary
public R2dbcNonTransientException(String reason, String sqlState)

Creates a new R2dbcNonTransientException.

Parameters
reason:String

the reason for the error. Set as the exception's message and retrieved with getMessage().

sqlState:String

the "SQLState" string, which follows either the XOPEN SQLState conventions or the SQL:2003 conventions

R2dbcNonTransientExceptionback to summary
public R2dbcNonTransientException(String reason, String sqlState, int errorCode)

Creates a new R2dbcNonTransientException.

Parameters
reason:String

the reason for the error. Set as the exception's message and retrieved with getMessage().

sqlState:String

the "SQLState" string, which follows either the XOPEN SQLState conventions or the SQL:2003 conventions

errorCode:int

a vendor-specific error code representing this failure

R2dbcNonTransientExceptionback to summary
public R2dbcNonTransientException(String reason, String sqlState, int errorCode, String sql)

Creates a new R2dbcNonTransientException.

Parameters
reason:String

the reason for the error. Set as the exception's message and retrieved with getMessage().

sqlState:String

the "SQLState" string, which follows either the XOPEN SQLState conventions or the SQL:2003 conventions

errorCode:int

a vendor-specific error code representing this failure

sql:String

the SQL statement that caused this error

Since
0.9
R2dbcNonTransientExceptionback to summary
public R2dbcNonTransientException(String reason, String sqlState, int errorCode, String sql, Throwable cause)

Creates a new R2dbcNonTransientException.

Parameters
reason:String

the reason for the error. Set as the exception's message and retrieved with getMessage().

sqlState:String

the "SQLState" string, which follows either the XOPEN SQLState conventions or the SQL:2003 conventions

errorCode:int

a vendor-specific error code representing this failure

sql:String

the SQL statement that caused this error

cause:Throwable

the cause

Since
0.9
R2dbcNonTransientExceptionback to summary
public R2dbcNonTransientException(String reason, String sqlState, int errorCode, Throwable cause)

Creates a new R2dbcNonTransientException.

Parameters
reason:String

the reason for the error. Set as the exception's message and retrieved with getMessage().

sqlState:String

the "SQLState" string, which follows either the XOPEN SQLState conventions or the SQL:2003 conventions

errorCode:int

a vendor-specific error code representing this failure

cause:Throwable

the cause

R2dbcNonTransientExceptionback to summary
public R2dbcNonTransientException(String reason, String sqlState, Throwable cause)

Creates a new R2dbcNonTransientException.

Parameters
reason:String

the reason for the error. Set as the exception's message and retrieved with getMessage().

sqlState:String

the "SQLState" string, which follows either the XOPEN SQLState conventions or the SQL:2003 conventions

cause:Throwable

the cause

R2dbcNonTransientExceptionback to summary
public R2dbcNonTransientException(String reason, Throwable cause)

Creates a new R2dbcNonTransientException.

Parameters
reason:String

the reason for the error. Set as the exception's message and retrieved with getMessage().

cause:Throwable

the cause

R2dbcNonTransientExceptionback to summary
public R2dbcNonTransientException(Throwable cause)

Creates a new R2dbcNonTransientException.

Parameters
cause:Throwable

the cause