Class UnsupportedFragmentException
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.InvalidDataAccessApiUsageException
org.springframework.data.repository.core.RepositoryCreationException
org.springframework.data.repository.core.support.UnsupportedFragmentException
- All Implemented Interfaces:
Serializable
Exception thrown during repository creation when a well-known fragment interface is not supported by the repository
factory.
- Since:
- 2.5
- Author:
- Mark Paluch
- See Also:
-
Constructor Summary
ConstructorDescriptionUnsupportedFragmentException
(String msg, Class<?> repositoryInterface, Class<?> fragmentInterface) Constructor for UnsupportedFragmentException. -
Method Summary
Methods inherited from class org.springframework.data.repository.core.RepositoryCreationException
getRepositoryInterface
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
-
UnsupportedFragmentException
public UnsupportedFragmentException(String msg, Class<?> repositoryInterface, Class<?> fragmentInterface) Constructor for UnsupportedFragmentException.- Parameters:
msg
- the detail message.repositoryInterface
- the repository interface.fragmentInterface
- the offending fragment interface.
-
-
Method Details
-
getFragmentInterface
-