Class ConnectionFactoryLookupFailureException
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.r2dbc.connection.lookup.ConnectionFactoryLookupFailureException
- All Implemented Interfaces:
Serializable
Exception to be thrown by a
ConnectionFactoryLookup
implementation,
indicating that the specified ConnectionFactory
could
not be obtained.- Since:
- 5.3
- Author:
- Mark Paluch
- See Also:
-
Constructor Summary
ConstructorDescriptionCreate a newConnectionFactoryLookupFailureException
.ConnectionFactoryLookupFailureException
(String msg, Throwable cause) Create a newConnectionFactoryLookupFailureException
. -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConnectionFactoryLookupFailureException
Create a newConnectionFactoryLookupFailureException
.- Parameters:
msg
- the detail message
-
ConnectionFactoryLookupFailureException
Create a newConnectionFactoryLookupFailureException
.- Parameters:
msg
- the detail messagecause
- the root cause
-