Top Description Constructors
io.r2dbc.spi

public Class R2dbcTimeoutException

extends R2dbcTransientException
Class Inheritance

Exception thrown when the timeout specified by a database operation (query, login) is exceeded. This could have different causes depending on the database API in use but most likely thrown after the database interrupts or stops the processing of a query before it has completed.

Constructor Summary

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

Creates a new R2dbcTimeoutException.

public
R2dbcTimeoutException(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 R2dbcTimeoutException.

public
R2dbcTimeoutException(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 R2dbcTimeoutException.

public
R2dbcTimeoutException(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 R2dbcTimeoutException.

public
R2dbcTimeoutException(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 R2dbcTimeoutException.

public
R2dbcTimeoutException(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 R2dbcTimeoutException.

public
R2dbcTimeoutException(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 R2dbcTimeoutException.

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

Creates a new R2dbcTimeoutException.

public

Constructor Detail

R2dbcTimeoutExceptionback to summary
public R2dbcTimeoutException()

Creates a new R2dbcTimeoutException.

R2dbcTimeoutExceptionback to summary
public R2dbcTimeoutException(String reason)

Creates a new R2dbcTimeoutException.

Parameters
reason:String

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

R2dbcTimeoutExceptionback to summary
public R2dbcTimeoutException(String reason, String sqlState)

Creates a new R2dbcTimeoutException.

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

R2dbcTimeoutExceptionback to summary
public R2dbcTimeoutException(String reason, String sqlState, int errorCode)

Creates a new R2dbcTimeoutException.

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

R2dbcTimeoutExceptionback to summary
public R2dbcTimeoutException(String reason, String sqlState, int errorCode, String sql)

Creates a new R2dbcTimeoutException.

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
R2dbcTimeoutExceptionback to summary
public R2dbcTimeoutException(String reason, String sqlState, int errorCode, String sql, Throwable cause)

Creates a new R2dbcTimeoutException.

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
R2dbcTimeoutExceptionback to summary
public R2dbcTimeoutException(String reason, String sqlState, int errorCode, Throwable cause)

Creates a new R2dbcTimeoutException.

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

R2dbcTimeoutExceptionback to summary
public R2dbcTimeoutException(String reason, String sqlState, Throwable cause)

Creates a new R2dbcTimeoutException.

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

R2dbcTimeoutExceptionback to summary
public R2dbcTimeoutException(String reason, Throwable cause)

Creates a new R2dbcTimeoutException.

Parameters
reason:String

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

cause:Throwable

the cause

R2dbcTimeoutExceptionback to summary
public R2dbcTimeoutException(Throwable cause)

Creates a new R2dbcTimeoutException.

Parameters
cause:Throwable

the cause