Class NonUniqueSessionRepositoryException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.boot.autoconfigure.session.NonUniqueSessionRepositoryException
- All Implemented Interfaces:
Serializable
public class NonUniqueSessionRepositoryException extends RuntimeException
Exception thrown when multipleSessionRepository
implementations are available with no way to know which implementation should be used.- Since:
- 2.0.0
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description NonUniqueSessionRepositoryException(List<Class<?>> availableCandidates)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Class<?>>
getAvailableCandidates()
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Constructor Detail
NonUniqueSessionRepositoryException
public NonUniqueSessionRepositoryException(List<Class<?>> availableCandidates)
Method Detail
getAvailableCandidates
public List<Class<?>> getAvailableCandidates()