Class IncompleteRepositoryCompositionException
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.IncompleteRepositoryCompositionException
- All Implemented Interfaces:
Serializable
Exception thrown during repository creation when a the repository has custom methods that are not backed by a
fragment or if no fragment could be found for a repository method invocation.
- Since:
- 2.5
- Author:
- Mark Paluch
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIncompleteRepositoryCompositionException
(String msg, Class<?> repositoryInterface) Constructor for IncompleteRepositoryCompositionException. -
Method Summary
Methods inherited from class org.springframework.data.repository.core.RepositoryCreationException
getRepositoryInterface
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
-
IncompleteRepositoryCompositionException
Constructor for IncompleteRepositoryCompositionException.- Parameters:
msg
- the detail message.repositoryInterface
- the repository interface.
-