Class SessionFactoryLookupFailureException
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.data.cassandra.core.cql.session.lookup.SessionFactoryLookupFailureException
- All Implemented Interfaces:
Serializable
Exception to be thrown by a
SessionFactoryLookup
implementation, indicating that the specified
SessionFactory
could not be obtained.- Since:
- 2.0
- Author:
- Mark Paluch
- See Also:
-
Constructor Summary
ConstructorDescriptionCreate a newSessionFactoryLookupFailureException
.SessionFactoryLookupFailureException
(String msg, Throwable cause) Create a newSessionFactoryLookupFailureException
. -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SessionFactoryLookupFailureException
Create a newSessionFactoryLookupFailureException
.- Parameters:
msg
- the detail message.
-
SessionFactoryLookupFailureException
Create a newSessionFactoryLookupFailureException
.- Parameters:
msg
- the detail message.cause
- the root cause (usually from using a underlying lookup API).
-