Class UncategorizedR2dbcException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.dao.NonTransientDataAccessException
org.springframework.dao.UncategorizedDataAccessException
org.springframework.r2dbc.UncategorizedR2dbcException
All Implemented Interfaces:
Serializable

public class UncategorizedR2dbcException extends org.springframework.dao.UncategorizedDataAccessException
Exception thrown when we can't classify a R2dbcException into one of our generic data access exceptions.
Since:
5.3
Author:
Mark Paluch
See Also:
  • Constructor Details

    • UncategorizedR2dbcException

      public UncategorizedR2dbcException(String msg, @Nullable String sql, R2dbcException ex)
      Constructor for UncategorizedSQLException.
      Parameters:
      msg - the detail message
      sql - the offending SQL statement
      ex - the exception thrown by underlying data access API
  • Method Details

    • getR2dbcException

      public R2dbcException getR2dbcException()
      Return the wrapped R2dbcException.
    • getSql

      @Nullable public String getSql()
      Return the SQL that led to the problem (if known).