Class H2DatabaseExceptionFactory
java.lang.Object
io.r2dbc.h2.H2DatabaseExceptionFactory
Factory to translate JDBC exceptions to R2DBC exceptions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic R2dbcExceptionconvert(org.h2.message.DbException dbException)
-
Constructor Details
-
H2DatabaseExceptionFactory
public H2DatabaseExceptionFactory()
-
-
Method Details
-
convert
- Parameters:
dbException- root cause to be translated.- Returns:
- the translated
R2dbcException.
-